| _catch | ||||||||||||
_catch(this: typeReference, selector: undefined)
|
||||||||||||
|
Catches errors on the observable to be handled by returning a new observable or throwing an error.
Parameters :
Example :
Continues with a different Observable when there's an error
Observable.of(1, 2, 3, 4, 5) .map(n => { if (n == 4) { throw 'four!'; } return n; }) .catch(err => Observable.of('I', 'II', 'III', 'IV', 'V')) .subscribe(x => console.log(x)); // 1, 2, 3, I, II, III, IV, V
Retries the caught source Observable again in case of error, similar to retry() operator
Observable.of(1, 2, 3, 4, 5) .map(n => { if (n === 4) { throw 'four!'; } return n; }) .catch((err, caught) => caught) .take(30) .subscribe(x => console.log(x)); // 1, 2, 3, 1, 2, 3, ...
Throws a new error when the source Observable throws an error
Observable.of(1, 2, 3, 4, 5) .map(n => { if (n == 4) { throw 'four!'; } return n; }) .catch(err => { throw 'error in source. Details: ' + err; }) .subscribe( x => console.log(x), err => console.log(err) ); // 1, 2, 3, error in source. Details: four! |
| _catch | ||||||||||||
_catch(this: typeReference, selector: undefined)
|
||||||||||||
|
Catches errors on the observable to be handled by returning a new observable or throwing an error.
Parameters :
Example :
Continues with a different Observable when there's an error
Observable.of(1, 2, 3, 4, 5) .map(n => { if (n == 4) { throw 'four!'; } return n; }) .catch(err => Observable.of('I', 'II', 'III', 'IV', 'V')) .subscribe(x => console.log(x)); // 1, 2, 3, I, II, III, IV, V
Retries the caught source Observable again in case of error, similar to retry() operator
Observable.of(1, 2, 3, 4, 5) .map(n => { if (n === 4) { throw 'four!'; } return n; }) .catch((err, caught) => caught) .take(30) .subscribe(x => console.log(x)); // 1, 2, 3, 1, 2, 3, ...
Throws a new error when the source Observable throws an error
Observable.of(1, 2, 3, 4, 5) .map(n => { if (n == 4) { throw 'four!'; } return n; }) .catch(err => { throw 'error in source. Details: ' + err; }) .subscribe( x => console.log(x), err => console.log(err) ); // 1, 2, 3, error in source. Details: four! |
| _do | ||||||||||||||||||||
_do(this: typeReference, next: undefined, error?: undefined, complete?: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| _do | ||||||||||||
_do(this: typeReference, observer: typeReference)
|
||||||||||||
|
Parameters :
|
| _do | ||||||||||||||||||||
_do(this: typeReference, nextOrObserver?: undefined, error?: undefined, complete?: undefined)
|
||||||||||||||||||||
|
Perform a side effect for every emission on the source Observable, but return an Observable that is identical to the source. Intercepts each emission on the source and runs a function, but returns an output which is identical to the source as long as errors don't occur.
Returns a mirrored Observable of the source Observable, but modified so that the provided Observer is called to perform a side effect for every value, error, and completion emitted by the source. Any errors that are thrown in the aforementioned Observer or handlers are safely sent down the error path of the output Observable. This operator is useful for debugging your Observables for the correct values or performing other side effects. Note: this is different to a
Parameters :
Example :
Map every click to the clientX position of that click, while also logging the click event var clicks = Rx.Observable.fromEvent(document, 'click'); var positions = clicks .do(ev => console.log(ev)) .map(ev => ev.clientX); positions.subscribe(x => console.log(x)); |
| _do | ||||||||||||||||||||
_do(this: typeReference, nextOrObserver?: undefined, error?: undefined, complete?: undefined)
|
||||||||||||||||||||
|
Perform a side effect for every emission on the source Observable, but return an Observable that is identical to the source. Intercepts each emission on the source and runs a function, but returns an output which is identical to the source as long as errors don't occur.
Returns a mirrored Observable of the source Observable, but modified so that the provided Observer is called to perform a side effect for every value, error, and completion emitted by the source. Any errors that are thrown in the aforementioned Observer or handlers are safely sent down the error path of the output Observable. This operator is useful for debugging your Observables for the correct values or performing other side effects. Note: this is different to a
Parameters :
Example :
Map every click to the clientX position of that click, while also logging the click event var clicks = Rx.Observable.fromEvent(document, 'click'); var positions = clicks .do(ev => console.log(ev)) .map(ev => ev.clientX); positions.subscribe(x => console.log(x)); |
| _do | ||||||||||||
_do(this: typeReference, observer: typeReference)
|
||||||||||||
|
Parameters :
|
| _do | ||||||||||||||||||||
_do(this: typeReference, next: undefined, error?: undefined, complete?: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| _finally | ||||||||||||
_finally(this: typeReference, callback: undefined)
|
||||||||||||
|
Returns an Observable that mirrors the source Observable, but will call a specified function when the source terminates on complete or error.
Parameters :
|
| _finally | ||||||||||||
_finally(this: typeReference, callback: undefined)
|
||||||||||||
|
Returns an Observable that mirrors the source Observable, but will call a specified function when the source terminates on complete or error.
Parameters :
|
| _redefineProperty |
_redefineProperty(obj: any, prop: string, desc: any)
|
|
|
| _tryDefineProperty | ||||||||||||||||||||
_tryDefineProperty(obj: any, prop: string, desc: any, originalConfigurableFlag: any)
|
||||||||||||||||||||
|
Parameters :
|
| isUnconfigurable |
isUnconfigurable(obj: any, prop: any)
|
|
|
| propertyPatch |
propertyPatch()
|
| rewriteDescriptor |
rewriteDescriptor(obj: any, prop: string, desc: any)
|
|
|
| _redefineProperty |
_redefineProperty(obj: any, prop: string, desc: any)
|
|
|
| _tryDefineProperty | ||||||||||||||||||||
_tryDefineProperty(obj: any, prop: string, desc: any, originalConfigurableFlag: any)
|
||||||||||||||||||||
|
Parameters :
|
| isUnconfigurable |
isUnconfigurable(obj: any, prop: any)
|
|
|
| propertyPatch |
propertyPatch()
|
| rewriteDescriptor |
rewriteDescriptor(obj: any, prop: string, desc: any)
|
|
|
| _switch | ||||||||
_switch(this: typeReference)
|
||||||||
|
Converts a higher-order Observable into a first-order Observable by subscribing to only the most recently emitted of those inner Observables. Flattens an Observable-of-Observables by dropping the previous inner Observable once a new one appears.
Parameters :
Example :
Rerun an interval Observable on every click event
var clicks = Rx.Observable.fromEvent(document, 'click');
// Each click event is mapped to an Observable that ticks every second
var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000));
var switched = higherOrder.switch();
// The outcome is that |
| _switch | ||||||||
_switch(this: typeReference)
|
||||||||
|
Converts a higher-order Observable into a first-order Observable by subscribing to only the most recently emitted of those inner Observables. Flattens an Observable-of-Observables by dropping the previous inner Observable once a new one appears.
Parameters :
Example :
Rerun an interval Observable on every click event
var clicks = Rx.Observable.fromEvent(document, 'click');
// Each click event is mapped to an Observable that ticks every second
var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000));
var switched = higherOrder.switch();
// The outcome is that |
| addErrorStack | ||||||||||||
addErrorStack(lines: undefined, error: typeReference)
|
||||||||||||
|
Parameters :
|
| captureStackTraces | ||||||||||||
captureStackTraces(stackTraces: undefined, count: number)
|
||||||||||||
|
Parameters :
|
| computeIgnoreFrames |
computeIgnoreFrames()
|
| getFrames | ||||||||
getFrames(error: typeReference)
|
||||||||
|
Parameters :
|
| getStacktraceWithCaughtError |
getStacktraceWithCaughtError()
|
| getStacktraceWithUncaughtError |
getStacktraceWithUncaughtError()
|
| renderLongStackTrace | ||||||||||||
renderLongStackTrace(frames: undefined, stack: string)
|
||||||||||||
|
Parameters :
|
| addErrorStack | ||||||||||||
addErrorStack(lines: undefined, error: typeReference)
|
||||||||||||
|
Parameters :
|
| captureStackTraces | ||||||||||||
captureStackTraces(stackTraces: undefined, count: number)
|
||||||||||||
|
Parameters :
|
| computeIgnoreFrames |
computeIgnoreFrames()
|
| getFrames | ||||||||
getFrames(error: typeReference)
|
||||||||
|
Parameters :
|
| getStacktraceWithCaughtError |
getStacktraceWithCaughtError()
|
| getStacktraceWithUncaughtError |
getStacktraceWithUncaughtError()
|
| renderLongStackTrace | ||||||||||||
renderLongStackTrace(frames: undefined, stack: string)
|
||||||||||||
|
Parameters :
|
| ajaxDelete | ||||||||||||
ajaxDelete(url: string, headers?: typeReference)
|
||||||||||||
|
Parameters :
|
| ajaxGet | ||||||||||||
ajaxGet(url: string, headers: typeReference)
|
||||||||||||
|
Parameters :
|
| ajaxGetJSON | ||||||||||||
ajaxGetJSON(url: string, headers?: typeReference)
|
||||||||||||
|
Parameters :
|
| ajaxPatch | ||||||||||||||||
ajaxPatch(url: string, body?: any, headers?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| ajaxPost | ||||||||||||||||
ajaxPost(url: string, body?: any, headers?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| ajaxPut | ||||||||||||||||
ajaxPut(url: string, body?: any, headers?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| getCORSRequest | ||||||||
getCORSRequest(this: typeReference)
|
||||||||
|
Parameters :
|
| getXMLHttpRequest |
getXMLHttpRequest()
|
| parseXhrResponse | ||||||||||||
parseXhrResponse(responseType: string, xhr: typeReference)
|
||||||||||||
|
Parameters :
|
| ajaxDelete | ||||||||||||
ajaxDelete(url: string, headers?: typeReference)
|
||||||||||||
|
Parameters :
|
| ajaxGet | ||||||||||||
ajaxGet(url: string, headers: typeReference)
|
||||||||||||
|
Parameters :
|
| ajaxGetJSON | ||||||||||||
ajaxGetJSON(url: string, headers?: typeReference)
|
||||||||||||
|
Parameters :
|
| ajaxPatch | ||||||||||||||||
ajaxPatch(url: string, body?: any, headers?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| ajaxPost | ||||||||||||||||
ajaxPost(url: string, body?: any, headers?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| ajaxPut | ||||||||||||||||
ajaxPut(url: string, body?: any, headers?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| getCORSRequest | ||||||||
getCORSRequest(this: typeReference)
|
||||||||
|
Parameters :
|
| getXMLHttpRequest |
getXMLHttpRequest()
|
| parseXhrResponse | ||||||||||||
parseXhrResponse(responseType: string, xhr: typeReference)
|
||||||||||||
|
Parameters :
|
| apply | ||||||||||||
apply(api: typeReference, _global: any)
|
||||||||||||
|
Parameters :
|
| apply | ||||||||||||
apply(api: typeReference, _global: any)
|
||||||||||||
|
Parameters :
|
| applyMixins | ||||||||||||
applyMixins(derivedCtor: any, baseCtors: undefined)
|
||||||||||||
|
Parameters :
|
| applyMixins | ||||||||||||
applyMixins(derivedCtor: any, baseCtors: undefined)
|
||||||||||||
|
Parameters :
|
| assignImpl | ||||||||||||
assignImpl(target: typeReference, ...sources: undefined)
|
||||||||||||
|
Parameters :
|
| getAssign | ||||||||
getAssign(root: any)
|
||||||||
|
Parameters :
|
| assignImpl | ||||||||||||
assignImpl(target: typeReference, ...sources: undefined)
|
||||||||||||
|
Parameters :
|
| getAssign | ||||||||
getAssign(root: any)
|
||||||||
|
Parameters :
|
| attachOriginToPatched | ||||||||||||
attachOriginToPatched(patched: typeReference, original: any)
|
||||||||||||
|
Parameters :
|
| bindArguments | ||||||||||||
bindArguments(args: undefined, source: string)
|
||||||||||||
|
Parameters :
|
| isIEOrEdge |
isIEOrEdge()
|
| isPropertyWritable | ||||||||
isPropertyWritable(propertyDesc: any)
|
||||||||
|
Parameters :
|
| patchClass | ||||||||
patchClass(className: string)
|
||||||||
|
Parameters :
|
| patchMacroTask |
patchMacroTask(obj: any, funcName: string, metaCreator: undefined)
|
|
|
| patchMethod |
patchMethod(target: any, name: string, patchFn: undefined)
|
|
|
| patchMicroTask |
patchMicroTask(obj: any, funcName: string, metaCreator: undefined)
|
|
|
| patchOnProperties |
patchOnProperties(obj: any, properties: undefined, prototype?: any)
|
|
|
| patchProperty |
patchProperty(obj: any, prop: string, prototype?: any)
|
|
|
| patchPrototype | ||||||||||||
patchPrototype(prototype: any, fnNames: undefined)
|
||||||||||||
|
Parameters :
|
| scheduleMacroTaskWithCurrentZone | ||||||||||||||||||||||||
scheduleMacroTaskWithCurrentZone(source: string, callback: typeReference, data: typeReference, customSchedule: undefined, customCancel: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| wrapWithCurrentZone | ||||||||||||
wrapWithCurrentZone(callback: typeReference, source: string)
|
||||||||||||
|
Parameters :
|
| attachOriginToPatched | ||||||||||||
attachOriginToPatched(patched: typeReference, original: any)
|
||||||||||||
|
Parameters :
|
| bindArguments | ||||||||||||
bindArguments(args: undefined, source: string)
|
||||||||||||
|
Parameters :
|
| isIEOrEdge |
isIEOrEdge()
|
| isPropertyWritable | ||||||||
isPropertyWritable(propertyDesc: any)
|
||||||||
|
Parameters :
|
| patchClass | ||||||||
patchClass(className: string)
|
||||||||
|
Parameters :
|
| patchMacroTask |
patchMacroTask(obj: any, funcName: string, metaCreator: undefined)
|
|
|
| patchMethod |
patchMethod(target: any, name: string, patchFn: undefined)
|
|
|
| patchMicroTask |
patchMicroTask(obj: any, funcName: string, metaCreator: undefined)
|
|
|
| patchOnProperties |
patchOnProperties(obj: any, properties: undefined, prototype?: any)
|
|
|
| patchProperty |
patchProperty(obj: any, prop: string, prototype?: any)
|
|
|
| patchPrototype | ||||||||||||
patchPrototype(prototype: any, fnNames: undefined)
|
||||||||||||
|
Parameters :
|
| scheduleMacroTaskWithCurrentZone | ||||||||||||||||||||||||
scheduleMacroTaskWithCurrentZone(source: string, callback: typeReference, data: typeReference, customSchedule: undefined, customCancel: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| wrapWithCurrentZone | ||||||||||||
wrapWithCurrentZone(callback: typeReference, source: string)
|
||||||||||||
|
Parameters :
|
| audit | ||||||||||||
audit(this: typeReference, durationSelector: undefined)
|
||||||||||||
|
Ignores source values for a duration determined by another Observable, then emits the most recent value from the source Observable, then repeats this process. It's like {@link auditTime}, but the silencing duration is determined by a second Observable.
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.audit(ev => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| audit | ||||||||
audit(durationSelector: undefined)
|
||||||||
|
Ignores source values for a duration determined by another Observable, then emits the most recent value from the source Observable, then repeats this process. It's like {@link auditTime}, but the silencing duration is determined by a second Observable.
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.audit(ev => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| audit | ||||||||||||
audit(this: typeReference, durationSelector: undefined)
|
||||||||||||
|
Ignores source values for a duration determined by another Observable, then emits the most recent value from the source Observable, then repeats this process. It's like {@link auditTime}, but the silencing duration is determined by a second Observable.
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.audit(ev => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| auditTime | ||||||||||||||||
auditTime(this: typeReference, duration: number, scheduler: typeReference)
|
||||||||||||||||
|
Ignores source values for When it sees a source values, it ignores that plus
the next ones for
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.auditTime(1000); result.subscribe(x => console.log(x)); |
| auditTime | ||||||||||||
auditTime(duration: number, scheduler: typeReference)
|
||||||||||||
|
Ignores source values for When it sees a source values, it ignores that plus
the next ones for
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.auditTime(1000); result.subscribe(x => console.log(x)); |
| auditTime | ||||||||||||||||
auditTime(this: typeReference, duration: number, scheduler: typeReference)
|
||||||||||||||||
|
Ignores source values for When it sees a source values, it ignores that plus
the next ones for
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.auditTime(1000); result.subscribe(x => console.log(x)); |
| auditTime | ||||||||||||
auditTime(duration: number, scheduler: typeReference)
|
||||||||||||
|
Ignores source values for When it sees a source values, it ignores that plus
the next ones for
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.auditTime(1000); result.subscribe(x => console.log(x)); |
| buffer | ||||||||
buffer(closingNotifier: typeReference)
|
||||||||
|
Buffers the source Observable values until Collects values from the past as an array, and emits that array only when another Observable emits.
Buffers the incoming Observable values until the given
Parameters :
Example :
On every click, emit array of most recent interval events var clicks = Rx.Observable.fromEvent(document, 'click'); var interval = Rx.Observable.interval(1000); var buffered = interval.buffer(clicks); buffered.subscribe(x => console.log(x)); |
| buffer | ||||||||||||
buffer(this: typeReference, closingNotifier: typeReference)
|
||||||||||||
|
Buffers the source Observable values until Collects values from the past as an array, and emits that array only when another Observable emits.
Buffers the incoming Observable values until the given
Parameters :
Example :
On every click, emit array of most recent interval events var clicks = Rx.Observable.fromEvent(document, 'click'); var interval = Rx.Observable.interval(1000); var buffered = interval.buffer(clicks); buffered.subscribe(x => console.log(x)); |
| buffer | ||||||||||||
buffer(this: typeReference, closingNotifier: typeReference)
|
||||||||||||
|
Buffers the source Observable values until Collects values from the past as an array, and emits that array only when another Observable emits.
Buffers the incoming Observable values until the given
Parameters :
Example :
On every click, emit array of most recent interval events var clicks = Rx.Observable.fromEvent(document, 'click'); var interval = Rx.Observable.interval(1000); var buffered = interval.buffer(clicks); buffered.subscribe(x => console.log(x)); |
| buffer | ||||||||
buffer(closingNotifier: typeReference)
|
||||||||
|
Buffers the source Observable values until Collects values from the past as an array, and emits that array only when another Observable emits.
Buffers the incoming Observable values until the given
Parameters :
Example :
On every click, emit array of most recent interval events var clicks = Rx.Observable.fromEvent(document, 'click'); var interval = Rx.Observable.interval(1000); var buffered = interval.buffer(clicks); buffered.subscribe(x => console.log(x)); |
| bufferCount | ||||||||||||
bufferCount(bufferSize: number, startBufferEvery: number)
|
||||||||||||
|
Buffers the source Observable values until the size hits the maximum
Collects values from the past as an array, and emits
that array only when its size reaches
Buffers a number of values from the source Observable by
Parameters :
Example :
Emit the last two click events as an array var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferCount(2); buffered.subscribe(x => console.log(x)); On every click, emit the last two click events as an array var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferCount(2, 1); buffered.subscribe(x => console.log(x)); |
| bufferCount | ||||||||||||||||
bufferCount(this: typeReference, bufferSize: number, startBufferEvery: number)
|
||||||||||||||||
|
Buffers the source Observable values until the size hits the maximum
Collects values from the past as an array, and emits
that array only when its size reaches
Buffers a number of values from the source Observable by
Parameters :
Example :
Emit the last two click events as an array var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferCount(2); buffered.subscribe(x => console.log(x)); On every click, emit the last two click events as an array var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferCount(2, 1); buffered.subscribe(x => console.log(x)); |
| bufferCount | ||||||||||||||||
bufferCount(this: typeReference, bufferSize: number, startBufferEvery: number)
|
||||||||||||||||
|
Buffers the source Observable values until the size hits the maximum
Collects values from the past as an array, and emits
that array only when its size reaches
Buffers a number of values from the source Observable by
Parameters :
Example :
Emit the last two click events as an array var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferCount(2); buffered.subscribe(x => console.log(x)); On every click, emit the last two click events as an array var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferCount(2, 1); buffered.subscribe(x => console.log(x)); |
| bufferCount | ||||||||||||
bufferCount(bufferSize: number, startBufferEvery: number)
|
||||||||||||
|
Buffers the source Observable values until the size hits the maximum
Collects values from the past as an array, and emits
that array only when its size reaches
Buffers a number of values from the source Observable by
Parameters :
Example :
Emit the last two click events as an array var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferCount(2); buffered.subscribe(x => console.log(x)); On every click, emit the last two click events as an array var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferCount(2, 1); buffered.subscribe(x => console.log(x)); |
| bufferTime | ||||||||||||||||||||
bufferTime(this: typeReference, bufferTimeSpan: number, bufferCreationInterval: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| bufferTime | ||||||||||||
bufferTime(this: typeReference, bufferTimeSpan: number)
|
||||||||||||
|
Buffers the source Observable values for a specific time period. Collects values from the past as an array, and emits those arrays periodically in time.
Buffers values from the source for a specific time duration
Parameters :
Example :
Every second, emit an array of the recent click events var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferTime(1000); buffered.subscribe(x => console.log(x)); Every 5 seconds, emit the click events from the next 2 seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferTime(2000, 5000); buffered.subscribe(x => console.log(x)); |
| bufferTime | ||||||||||||||||
bufferTime(this: typeReference, bufferTimeSpan: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| bufferTime | ||||||||||||||||||||||||
bufferTime(this: typeReference, bufferTimeSpan: number, bufferCreationInterval: number, maxBufferSize: number, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| bufferTime | ||||||||||||
bufferTime(bufferTimeSpan: number, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| bufferTime | ||||||||||||||||
bufferTime(bufferTimeSpan: number, bufferCreationInterval: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| bufferTime | ||||||||||||||||||||
bufferTime(bufferTimeSpan: number, bufferCreationInterval: number, maxBufferSize: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| bufferTime | ||||||||
bufferTime(bufferTimeSpan: number)
|
||||||||
|
Buffers the source Observable values for a specific time period. Collects values from the past as an array, and emits those arrays periodically in time.
Buffers values from the source for a specific time duration
Parameters :
Example :
Every second, emit an array of the recent click events var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferTime(1000); buffered.subscribe(x => console.log(x)); Every 5 seconds, emit the click events from the next 2 seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferTime(2000, 5000); buffered.subscribe(x => console.log(x)); |
| dispatchBufferClose | ||||||||
dispatchBufferClose(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchBufferCreation | ||||||||||||
dispatchBufferCreation(this: typeReference, state: typeReference)
|
||||||||||||
|
Parameters :
|
| dispatchBufferTimeSpanOnly | ||||||||||||
dispatchBufferTimeSpanOnly(this: typeReference, state: any)
|
||||||||||||
|
Parameters :
|
| bufferTime | ||||||||||||||||
bufferTime(bufferTimeSpan: number, bufferCreationInterval: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| bufferTime | ||||||||||||
bufferTime(bufferTimeSpan: number, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| bufferTime | ||||||||
bufferTime(bufferTimeSpan: number)
|
||||||||
|
Buffers the source Observable values for a specific time period. Collects values from the past as an array, and emits those arrays periodically in time.
Buffers values from the source for a specific time duration
Parameters :
Example :
Every second, emit an array of the recent click events var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferTime(1000); buffered.subscribe(x => console.log(x)); Every 5 seconds, emit the click events from the next 2 seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferTime(2000, 5000); buffered.subscribe(x => console.log(x)); |
| bufferTime | ||||||||||||||||||||
bufferTime(bufferTimeSpan: number, bufferCreationInterval: number, maxBufferSize: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| dispatchBufferClose | ||||||||
dispatchBufferClose(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchBufferCreation | ||||||||||||
dispatchBufferCreation(this: typeReference, state: typeReference)
|
||||||||||||
|
Parameters :
|
| dispatchBufferTimeSpanOnly | ||||||||||||
dispatchBufferTimeSpanOnly(this: typeReference, state: any)
|
||||||||||||
|
Parameters :
|
| bufferTime | ||||||||||||||||||||||||
bufferTime(this: typeReference, bufferTimeSpan: number, bufferCreationInterval: number, maxBufferSize: number, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| bufferTime | ||||||||||||||||||||
bufferTime(this: typeReference, bufferTimeSpan: number, bufferCreationInterval: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| bufferTime | ||||||||||||
bufferTime(this: typeReference, bufferTimeSpan: number)
|
||||||||||||
|
Buffers the source Observable values for a specific time period. Collects values from the past as an array, and emits those arrays periodically in time.
Buffers values from the source for a specific time duration
Parameters :
Example :
Every second, emit an array of the recent click events var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferTime(1000); buffered.subscribe(x => console.log(x)); Every 5 seconds, emit the click events from the next 2 seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferTime(2000, 5000); buffered.subscribe(x => console.log(x)); |
| bufferTime | ||||||||||||||||
bufferTime(this: typeReference, bufferTimeSpan: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| bufferToggle | ||||||||||||||||
bufferToggle(this: typeReference, openings: typeReference, closingSelector: undefined)
|
||||||||||||||||
|
Buffers the source Observable values starting from an emission from
Collects values from the past as an array. Starts
collecting only when
Buffers values from the source by opening the buffer via signals from an
Observable provided to
Parameters :
Example :
Every other second, emit the click events from the next 500ms var clicks = Rx.Observable.fromEvent(document, 'click'); var openings = Rx.Observable.interval(1000); var buffered = clicks.bufferToggle(openings, i => i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() ); buffered.subscribe(x => console.log(x)); |
| bufferToggle | ||||||||||||
bufferToggle(openings: typeReference, closingSelector: undefined)
|
||||||||||||
|
Buffers the source Observable values starting from an emission from
Collects values from the past as an array. Starts
collecting only when
Buffers values from the source by opening the buffer via signals from an
Observable provided to
Parameters :
Example :
Every other second, emit the click events from the next 500ms var clicks = Rx.Observable.fromEvent(document, 'click'); var openings = Rx.Observable.interval(1000); var buffered = clicks.bufferToggle(openings, i => i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() ); buffered.subscribe(x => console.log(x)); |
| bufferToggle | ||||||||||||
bufferToggle(openings: typeReference, closingSelector: undefined)
|
||||||||||||
|
Buffers the source Observable values starting from an emission from
Collects values from the past as an array. Starts
collecting only when
Buffers values from the source by opening the buffer via signals from an
Observable provided to
Parameters :
Example :
Every other second, emit the click events from the next 500ms var clicks = Rx.Observable.fromEvent(document, 'click'); var openings = Rx.Observable.interval(1000); var buffered = clicks.bufferToggle(openings, i => i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() ); buffered.subscribe(x => console.log(x)); |
| bufferToggle | ||||||||||||||||
bufferToggle(this: typeReference, openings: typeReference, closingSelector: undefined)
|
||||||||||||||||
|
Buffers the source Observable values starting from an emission from
Collects values from the past as an array. Starts
collecting only when
Buffers values from the source by opening the buffer via signals from an
Observable provided to
Parameters :
Example :
Every other second, emit the click events from the next 500ms var clicks = Rx.Observable.fromEvent(document, 'click'); var openings = Rx.Observable.interval(1000); var buffered = clicks.bufferToggle(openings, i => i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() ); buffered.subscribe(x => console.log(x)); |
| bufferWhen | ||||||||
bufferWhen(closingSelector: undefined)
|
||||||||
|
Buffers the source Observable values, using a factory function of closing Observables to determine when to close, emit, and reset the buffer. Collects values from the past as an array. When it starts collecting values, it calls a function that returns an Observable that tells when to close the buffer and restart collecting.
Opens a buffer immediately, then closes the buffer when the observable
returned by calling
Parameters :
Example :
Emit an array of the last clicks every [1-5] random seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000) ); buffered.subscribe(x => console.log(x)); |
| bufferWhen | ||||||||||||
bufferWhen(this: typeReference, closingSelector: undefined)
|
||||||||||||
|
Buffers the source Observable values, using a factory function of closing Observables to determine when to close, emit, and reset the buffer. Collects values from the past as an array. When it starts collecting values, it calls a function that returns an Observable that tells when to close the buffer and restart collecting.
Opens a buffer immediately, then closes the buffer when the observable
returned by calling
Parameters :
Example :
Emit an array of the last clicks every [1-5] random seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000) ); buffered.subscribe(x => console.log(x)); |
| bufferWhen | ||||||||||||
bufferWhen(this: typeReference, closingSelector: undefined)
|
||||||||||||
|
Buffers the source Observable values, using a factory function of closing Observables to determine when to close, emit, and reset the buffer. Collects values from the past as an array. When it starts collecting values, it calls a function that returns an Observable that tells when to close the buffer and restart collecting.
Opens a buffer immediately, then closes the buffer when the observable
returned by calling
Parameters :
Example :
Emit an array of the last clicks every [1-5] random seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000) ); buffered.subscribe(x => console.log(x)); |
| bufferWhen | ||||||||
bufferWhen(closingSelector: undefined)
|
||||||||
|
Buffers the source Observable values, using a factory function of closing Observables to determine when to close, emit, and reset the buffer. Collects values from the past as an array. When it starts collecting values, it calls a function that returns an Observable that tells when to close the buffer and restart collecting.
Opens a buffer immediately, then closes the buffer when the observable
returned by calling
Parameters :
Example :
Emit an array of the last clicks every [1-5] random seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var buffered = clicks.bufferWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000) ); buffered.subscribe(x => console.log(x)); |
| canPatchViaPropertyDescriptor |
canPatchViaPropertyDescriptor()
|
| filterProperties | ||||||||||||||||
filterProperties(target: any, onProperties: undefined, ignoreProperties: undefined)
|
||||||||||||||||
|
Parameters :
|
| patchFilteredProperties | ||||||||||||||||||||
patchFilteredProperties(target: any, onProperties: undefined, ignoreProperties: undefined, prototype?: any)
|
||||||||||||||||||||
|
Parameters :
|
| patchViaCapturingAllTheEvents |
patchViaCapturingAllTheEvents()
|
| propertyDescriptorPatch | ||||||||||||
propertyDescriptorPatch(api: typeReference, _global: any)
|
||||||||||||
|
Parameters :
|
| canPatchViaPropertyDescriptor |
canPatchViaPropertyDescriptor()
|
| filterProperties | ||||||||||||||||
filterProperties(target: any, onProperties: undefined, ignoreProperties: undefined)
|
||||||||||||||||
|
Parameters :
|
| patchFilteredProperties | ||||||||||||||||||||
patchFilteredProperties(target: any, onProperties: undefined, ignoreProperties: undefined, prototype?: any)
|
||||||||||||||||||||
|
Parameters :
|
| patchViaCapturingAllTheEvents |
patchViaCapturingAllTheEvents()
|
| propertyDescriptorPatch | ||||||||||||
propertyDescriptorPatch(api: typeReference, _global: any)
|
||||||||||||
|
Parameters :
|
| catchError | ||||||||
catchError(selector: undefined)
|
||||||||
|
Catches errors on the observable to be handled by returning a new observable or throwing an error.
Parameters :
Example :
Continues with a different Observable when there's an error
Observable.of(1, 2, 3, 4, 5) .map(n => { if (n == 4) { throw 'four!'; } return n; }) .catch(err => Observable.of('I', 'II', 'III', 'IV', 'V')) .subscribe(x => console.log(x)); // 1, 2, 3, I, II, III, IV, V
Retries the caught source Observable again in case of error, similar to retry() operator
Observable.of(1, 2, 3, 4, 5) .map(n => { if (n === 4) { throw 'four!'; } return n; }) .catch((err, caught) => caught) .take(30) .subscribe(x => console.log(x)); // 1, 2, 3, 1, 2, 3, ...
Throws a new error when the source Observable throws an error
Observable.of(1, 2, 3, 4, 5) .map(n => { if (n == 4) { throw 'four!'; } return n; }) .catch(err => { throw 'error in source. Details: ' + err; }) .subscribe( x => console.log(x), err => console.log(err) ); // 1, 2, 3, error in source. Details: four! |
| catchError | ||||||||
catchError(selector: undefined)
|
||||||||
|
Catches errors on the observable to be handled by returning a new observable or throwing an error.
Parameters :
Example :
Continues with a different Observable when there's an error
Observable.of(1, 2, 3, 4, 5) .map(n => { if (n == 4) { throw 'four!'; } return n; }) .catch(err => Observable.of('I', 'II', 'III', 'IV', 'V')) .subscribe(x => console.log(x)); // 1, 2, 3, I, II, III, IV, V
Retries the caught source Observable again in case of error, similar to retry() operator
Observable.of(1, 2, 3, 4, 5) .map(n => { if (n === 4) { throw 'four!'; } return n; }) .catch((err, caught) => caught) .take(30) .subscribe(x => console.log(x)); // 1, 2, 3, 1, 2, 3, ...
Throws a new error when the source Observable throws an error
Observable.of(1, 2, 3, 4, 5) .map(n => { if (n == 4) { throw 'four!'; } return n; }) .catch(err => { throw 'error in source. Details: ' + err; }) .subscribe( x => console.log(x), err => console.log(err) ); // 1, 2, 3, error in source. Details: four! |
| cleanLifecycleHooksFromMethods | ||||||||
cleanLifecycleHooksFromMethods(methods: typeReference)
|
||||||||
|
Parameters :
|
| cleanSourcesForWatch | ||||||||
cleanSourcesForWatch(list: )
|
||||||||
|
Parameters :
|
| getCanonicalFileName | ||||||||
getCanonicalFileName(fileName: string)
|
||||||||
|
Parameters :
|
| getNamesCompareFn | ||||||||
getNamesCompareFn(name?: )
|
||||||||
|
Parameters :
|
| getNewLine |
getNewLine()
|
| handlePath | ||||||||||||
handlePath(files: typeReference, cwd: string)
|
||||||||||||
|
Parameters :
|
| hasBom | ||||||||
hasBom(source: string)
|
||||||||
|
Parameters :
|
| markedtags | ||||||||
markedtags(tags: typeReference)
|
||||||||
|
Parameters :
|
| mergeTagsAndArgs | ||||||||||||
mergeTagsAndArgs(args: typeReference, jsdoctags?: typeReference)
|
||||||||||||
|
Parameters :
|
| readConfig | ||||||||
readConfig(configFile: string)
|
||||||||
|
Parameters :
|
| stripBom | ||||||||
stripBom(source: string)
|
||||||||
|
Parameters :
|
| cleanLifecycleHooksFromMethods | ||||||||
cleanLifecycleHooksFromMethods(methods: typeReference)
|
||||||||
|
Parameters :
|
| cleanSourcesForWatch | ||||||||
cleanSourcesForWatch(list: )
|
||||||||
|
Parameters :
|
| getCanonicalFileName | ||||||||
getCanonicalFileName(fileName: string)
|
||||||||
|
Parameters :
|
| getNamesCompareFn | ||||||||
getNamesCompareFn(name?: )
|
||||||||
|
Parameters :
|
| getNewLine |
getNewLine()
|
| handlePath | ||||||||||||
handlePath(files: typeReference, cwd: string)
|
||||||||||||
|
Parameters :
|
| hasBom | ||||||||
hasBom(source: string)
|
||||||||
|
Parameters :
|
| markedtags | ||||||||
markedtags(tags: typeReference)
|
||||||||
|
Parameters :
|
| mergeTagsAndArgs | ||||||||||||
mergeTagsAndArgs(args: typeReference, jsdoctags?: typeReference)
|
||||||||||||
|
Parameters :
|
| readConfig | ||||||||
readConfig(configFile: string)
|
||||||||
|
Parameters :
|
| stripBom | ||||||||
stripBom(source: string)
|
||||||||
|
Parameters :
|
| cleanNameWithoutSpaceAndToLowerCase | ||||||||
cleanNameWithoutSpaceAndToLowerCase(name: string)
|
||||||||
|
Parameters :
|
| compilerHost | ||||||||
compilerHost(transpileOptions: any)
|
||||||||
|
Parameters :
|
| detectIndent | ||||||||||||||||
detectIndent(str: , count: , indent?: )
|
||||||||||||||||
|
Parameters :
|
| findMainSourceFolder | ||||||||
findMainSourceFolder(files: undefined)
|
||||||||
|
Parameters :
|
| cleanNameWithoutSpaceAndToLowerCase | ||||||||
cleanNameWithoutSpaceAndToLowerCase(name: string)
|
||||||||
|
Parameters :
|
| compilerHost | ||||||||
compilerHost(transpileOptions: any)
|
||||||||
|
Parameters :
|
| detectIndent | ||||||||||||||||
detectIndent(str: , count: , indent?: )
|
||||||||||||||||
|
Parameters :
|
| findMainSourceFolder | ||||||||
findMainSourceFolder(files: undefined)
|
||||||||
|
Parameters :
|
| combineAll | ||||||||||||
combineAll(this: typeReference, project?: undefined)
|
||||||||||||
|
Converts a higher-order Observable into a first-order Observable by waiting for the outer Observable to complete, then applying {@link combineLatest}. Flattens an Observable-of-Observables by applying {@link combineLatest} when the Observable-of-Observables completes.
Takes an Observable of Observables, and collects all Observables from it. Once the outer Observable completes, it subscribes to all collected Observables and combines their values using the {@link combineLatest} strategy, such that:
Parameters :
Example :
Map two click events to a finite interval Observable, then apply combineAll var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map(ev => Rx.Observable.interval(Math.random()*2000).take(3) ).take(2); var result = higherOrder.combineAll(); result.subscribe(x => console.log(x)); |
| combineAll | ||||||||
combineAll(project?: undefined)
|
||||||||
|
Parameters :
|
| combineAll | ||||||||
combineAll(project?: undefined)
|
||||||||
|
Parameters :
|
| combineAll | ||||||||||||
combineAll(this: typeReference, project?: undefined)
|
||||||||||||
|
Converts a higher-order Observable into a first-order Observable by waiting for the outer Observable to complete, then applying {@link combineLatest}. Flattens an Observable-of-Observables by applying {@link combineLatest} when the Observable-of-Observables completes.
Takes an Observable of Observables, and collects all Observables from it. Once the outer Observable completes, it subscribes to all collected Observables and combines their values using the {@link combineLatest} strategy, such that:
Parameters :
Example :
Map two click events to a finite interval Observable, then apply combineAll var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map(ev => Rx.Observable.interval(Math.random()*2000).take(3) ).take(2); var result = higherOrder.combineAll(); result.subscribe(x => console.log(x)); |
| combineLatest | ||||||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(this: typeReference, array: undefined)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(this: typeReference, array: undefined, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(this: typeReference, observables: typeReference)
|
||||||||||||
|
Combines multiple Observables to create an Observable whose values are calculated from the latest values of each of its input Observables. Whenever any input Observable emits a value, it computes a formula using the latest values from all the inputs, then emits the output of that formula.
Parameters :
Example :
Dynamically calculate the Body-Mass Index from an Observable of weight and one for height var weight = Rx.Observable.of(70, 72, 76, 79, 75); var height = Rx.Observable.of(1.76, 1.77, 1.78); var bmi = weight.combineLatest(height, (w, h) => w / (h * h)); bmi.subscribe(x => console.log('BMI is ' + x)); // With output to console: // BMI is 24.212293388429753 // BMI is 23.93948099205209 // BMI is 23.671253629592222 |
| combineLatest | ||||||||||||
combineLatest(this: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(this: typeReference, v2: typeReference)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(v2: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(project: undefined)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(observables: typeReference)
|
||||||||
|
Combines multiple Observables to create an Observable whose values are calculated from the latest values of each of its input Observables. Whenever any input Observable emits a value, it computes a formula using the latest values from all the inputs, then emits the output of that formula.
Parameters :
Example :
Dynamically calculate the Body-Mass Index from an Observable of weight and one for height var weight = Rx.Observable.of(70, 72, 76, 79, 75); var height = Rx.Observable.of(1.76, 1.77, 1.78); var bmi = weight.combineLatest(height, (w, h) => w / (h * h)); bmi.subscribe(x => console.log('BMI is ' + x)); // With output to console: // BMI is 24.212293388429753 // BMI is 23.93948099205209 // BMI is 23.671253629592222 |
| combineLatest | ||||||||||||
combineLatest(array: undefined, project: undefined)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(array: undefined)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(observables: typeReference)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(v2: typeReference, v3: typeReference)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(v2: typeReference)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(observables: typeReference)
|
||||||||
|
Combines multiple Observables to create an Observable whose values are calculated from the latest values of each of its input Observables. Whenever any input Observable emits a value, it computes a formula using the latest values from all the inputs, then emits the output of that formula.
Parameters :
Example :
Dynamically calculate the Body-Mass Index from an Observable of weight and one for height var weight = Rx.Observable.of(70, 72, 76, 79, 75); var height = Rx.Observable.of(1.76, 1.77, 1.78); var bmi = weight.combineLatest(height, (w, h) => w / (h * h)); bmi.subscribe(x => console.log('BMI is ' + x)); // With output to console: // BMI is 24.212293388429753 // BMI is 23.93948099205209 // BMI is 23.671253629592222 |
| combineLatest | ||||||||||||
combineLatest(array: undefined, project: undefined)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(array: undefined)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(observables: typeReference)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(v2: typeReference, v3: typeReference)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(v2: typeReference)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(v2: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(project: undefined)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(this: typeReference, v2: typeReference)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(this: typeReference, array: undefined)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(this: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||
combineLatest(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(this: typeReference, array: undefined, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(this: typeReference, observables: typeReference)
|
||||||||||||
|
Combines multiple Observables to create an Observable whose values are calculated from the latest values of each of its input Observables. Whenever any input Observable emits a value, it computes a formula using the latest values from all the inputs, then emits the output of that formula.
Parameters :
Example :
Dynamically calculate the Body-Mass Index from an Observable of weight and one for height var weight = Rx.Observable.of(70, 72, 76, 79, 75); var height = Rx.Observable.of(1.76, 1.77, 1.78); var bmi = weight.combineLatest(height, (w, h) => w / (h * h)); bmi.subscribe(x => console.log('BMI is ' + x)); // With output to console: // BMI is 24.212293388429753 // BMI is 23.93948099205209 // BMI is 23.671253629592222 |
| combineLatest | ||||||||||||
combineLatest(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(v1: typeReference, project: undefined, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, project: undefined, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, project: undefined, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, project: undefined, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(array: undefined, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(array: undefined, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(array: undefined, project: undefined, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(array: undefined, project: undefined, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(observables: typeReference)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(observables: typeReference)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(observables: typeReference)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(observables: typeReference)
|
||||||||
|
Combines multiple Observables to create an Observable whose values are calculated from the latest values of each of its input Observables. Whenever any input Observable emits a value, it computes a formula using the latest values from all the inputs, then emits the output of that formula.
Static version of To ensure output array has always the same length, If at least one Observable was passed to
Parameters :
Example :
Combine two timer Observables const firstTimer = Rx.Observable.timer(0, 1000); // emit 0, 1, 2... after every second, starting from now const secondTimer = Rx.Observable.timer(500, 1000); // emit 0, 1, 2... after every second, starting 0,5s from now const combinedTimers = Rx.Observable.combineLatest(firstTimer, secondTimer); combinedTimers.subscribe(value => console.log(value)); // Logs // [0, 0] after 0.5s // [1, 0] after 1s // [1, 1] after 1.5s // [2, 1] after 2s Combine an array of Observables const observables = [1, 5, 10].map( n => Rx.Observable.of(n).delay(n * 1000).startWith(0) // emit 0 and then emit n after n seconds ); const combined = Rx.Observable.combineLatest(observables); combined.subscribe(value => console.log(value)); // Logs // [0, 0, 0] immediately // [1, 0, 0] after 1s // [1, 5, 0] after 5s // [1, 5, 10] after 10s Use project function to dynamically calculate the Body-Mass Index var weight = Rx.Observable.of(70, 72, 76, 79, 75); var height = Rx.Observable.of(1.76, 1.77, 1.78); var bmi = Rx.Observable.combineLatest(weight, height, (w, h) => w / (h * h)); bmi.subscribe(x => console.log('BMI is ' + x)); // With output to console: // BMI is 24.212293388429753 // BMI is 23.93948099205209 // BMI is 23.671253629592222 |
| combineLatest | ||||||||
combineLatest(observables: typeReference)
|
||||||||
|
Combines multiple Observables to create an Observable whose values are calculated from the latest values of each of its input Observables. Whenever any input Observable emits a value, it computes a formula using the latest values from all the inputs, then emits the output of that formula.
Static version of To ensure output array has always the same length, If at least one Observable was passed to
Parameters :
Example :
Combine two timer Observables const firstTimer = Rx.Observable.timer(0, 1000); // emit 0, 1, 2... after every second, starting from now const secondTimer = Rx.Observable.timer(500, 1000); // emit 0, 1, 2... after every second, starting 0,5s from now const combinedTimers = Rx.Observable.combineLatest(firstTimer, secondTimer); combinedTimers.subscribe(value => console.log(value)); // Logs // [0, 0] after 0.5s // [1, 0] after 1s // [1, 1] after 1.5s // [2, 1] after 2s Combine an array of Observables const observables = [1, 5, 10].map( n => Rx.Observable.of(n).delay(n * 1000).startWith(0) // emit 0 and then emit n after n seconds ); const combined = Rx.Observable.combineLatest(observables); combined.subscribe(value => console.log(value)); // Logs // [0, 0, 0] immediately // [1, 0, 0] after 1s // [1, 5, 0] after 5s // [1, 5, 10] after 10s Use project function to dynamically calculate the Body-Mass Index var weight = Rx.Observable.of(70, 72, 76, 79, 75); var height = Rx.Observable.of(1.76, 1.77, 1.78); var bmi = Rx.Observable.combineLatest(weight, height, (w, h) => w / (h * h)); bmi.subscribe(x => console.log('BMI is ' + x)); // With output to console: // BMI is 24.212293388429753 // BMI is 23.93948099205209 // BMI is 23.671253629592222 |
| combineLatest | ||||||||
combineLatest(observables: typeReference)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(observables: typeReference)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||
combineLatest(observables: typeReference)
|
||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(array: undefined, project: undefined, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(array: undefined, project: undefined, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(array: undefined, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||
combineLatest(array: undefined, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, project: undefined, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, v3: typeReference, project: undefined, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||||||
combineLatest(v1: typeReference, v2: typeReference, project: undefined, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| combineLatest | ||||||||||||||||
combineLatest(v1: typeReference, project: undefined, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| compilerHost | ||||||||
compilerHost(transpileOptions: any)
|
||||||||
|
Parameters :
|
| d | ||||||||
d(node: )
|
||||||||
|
Parameters :
|
| getNewLineCharacter | ||||||||
getNewLineCharacter(options: typeReference)
|
||||||||
|
Parameters :
|
| compilerHost | ||||||||
compilerHost(transpileOptions: any)
|
||||||||
|
Parameters :
|
| d | ||||||||
d(node: )
|
||||||||
|
Parameters :
|
| getNewLineCharacter | ||||||||
getNewLineCharacter(options: typeReference)
|
||||||||
|
Parameters :
|
| concat | ||||||||||||
concat(this: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||
concat(this: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||
concat(this: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||
concat(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||||||
concat(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||||||||||
concat(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||
concat(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| concat | ||||||||||||
concat(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| concat | ||||||||||||
concat(this: typeReference, observables: typeReference)
|
||||||||||||
|
Creates an output Observable which sequentially emits all values from every given input Observable after the current Observable. Concatenates multiple Observables together by sequentially emitting their values, one Observable after the other.
Joins this Observable with multiple other Observables by subscribing to them one at a time, starting with the source, and merging their results into the output Observable. Will wait for each Observable to complete before moving on to the next.
Parameters :
Example :
Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 var timer = Rx.Observable.interval(1000).take(4); var sequence = Rx.Observable.range(1, 10); var result = timer.concat(sequence); result.subscribe(x => console.log(x)); // results in: // 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 Concatenate 3 Observables var timer1 = Rx.Observable.interval(1000).take(10); var timer2 = Rx.Observable.interval(2000).take(6); var timer3 = Rx.Observable.interval(500).take(10); var result = timer1.concat(timer2, timer3); result.subscribe(x => console.log(x)); // results in the following: // (Prints to console sequentially) // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 |
| concat | ||||||||||||||||
concat(v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||
concat(v2: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| concat | ||||||||
concat(scheduler?: typeReference)
|
||||||||
|
Parameters :
|
| concat | ||||||||
concat(observables: typeReference)
|
||||||||
|
Parameters :
|
| concat | ||||||||
concat(observables: typeReference)
|
||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||||||
concat(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||
concat(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||
concat(observables: typeReference)
|
||||||||
|
Creates an output Observable which sequentially emits all values from every given input Observable after the current Observable. Concatenates multiple Observables together by sequentially emitting their values, one Observable after the other.
Joins this Observable with multiple other Observables by subscribing to them one at a time, starting with the source, and merging their results into the output Observable. Will wait for each Observable to complete before moving on to the next.
Parameters :
Example :
Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 var timer = Rx.Observable.interval(1000).take(4); var sequence = Rx.Observable.range(1, 10); var result = timer.concat(sequence); result.subscribe(x => console.log(x)); // results in: // 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 Concatenate 3 Observables var timer1 = Rx.Observable.interval(1000).take(10); var timer2 = Rx.Observable.interval(2000).take(6); var timer3 = Rx.Observable.interval(500).take(10); var result = timer1.concat(timer2, timer3); result.subscribe(x => console.log(x)); // results in the following: // (Prints to console sequentially) // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 |
| concat | ||||||||||||||||||||
concat(v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||
concat(scheduler?: typeReference)
|
||||||||
|
Parameters :
|
| concat | ||||||||
concat(observables: typeReference)
|
||||||||
|
Creates an output Observable which sequentially emits all values from every given input Observable after the current Observable. Concatenates multiple Observables together by sequentially emitting their values, one Observable after the other.
Joins this Observable with multiple other Observables by subscribing to them one at a time, starting with the source, and merging their results into the output Observable. Will wait for each Observable to complete before moving on to the next.
Parameters :
Example :
Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 var timer = Rx.Observable.interval(1000).take(4); var sequence = Rx.Observable.range(1, 10); var result = timer.concat(sequence); result.subscribe(x => console.log(x)); // results in: // 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 Concatenate 3 Observables var timer1 = Rx.Observable.interval(1000).take(10); var timer2 = Rx.Observable.interval(2000).take(6); var timer3 = Rx.Observable.interval(500).take(10); var result = timer1.concat(timer2, timer3); result.subscribe(x => console.log(x)); // results in the following: // (Prints to console sequentially) // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 |
| concat | ||||||||
concat(observables: typeReference)
|
||||||||
|
Parameters :
|
| concat | ||||||||
concat(observables: typeReference)
|
||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||||||
concat(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||
concat(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||
concat(v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||
concat(v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||
concat(v2: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| concat | ||||||||||||
concat(this: typeReference, observables: typeReference)
|
||||||||||||
|
Creates an output Observable which sequentially emits all values from every given input Observable after the current Observable. Concatenates multiple Observables together by sequentially emitting their values, one Observable after the other.
Joins this Observable with multiple other Observables by subscribing to them one at a time, starting with the source, and merging their results into the output Observable. Will wait for each Observable to complete before moving on to the next.
Parameters :
Example :
Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 var timer = Rx.Observable.interval(1000).take(4); var sequence = Rx.Observable.range(1, 10); var result = timer.concat(sequence); result.subscribe(x => console.log(x)); // results in: // 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 Concatenate 3 Observables var timer1 = Rx.Observable.interval(1000).take(10); var timer2 = Rx.Observable.interval(2000).take(6); var timer3 = Rx.Observable.interval(500).take(10); var result = timer1.concat(timer2, timer3); result.subscribe(x => console.log(x)); // results in the following: // (Prints to console sequentially) // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 |
| concat | ||||||||||||
concat(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| concat | ||||||||||||
concat(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||||||||||
concat(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||
concat(this: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||
concat(this: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||||||
concat(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||
concat(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||
concat(this: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||
concat(v1: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||
concat(v1: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||
concat(v1: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||
concat(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||||||
concat(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||||||||||
concat(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||
concat(...observables: undefined)
|
||||||||
|
Parameters :
|
| concat | ||||||||
concat(...observables: undefined)
|
||||||||
|
Parameters :
|
| concat | ||||||||
concat(observables: typeReference)
|
||||||||
|
Creates an output Observable which sequentially emits all values from given Observable and then moves on to the next. Concatenates multiple Observables together by sequentially emitting their values, one Observable after the other.
Note that if some input Observable never completes, If any Observable in chain errors, instead of passing control to the next Observable,
If you pass to
Parameters :
Example :
Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 var timer = Rx.Observable.interval(1000).take(4); var sequence = Rx.Observable.range(1, 10); var result = Rx.Observable.concat(timer, sequence); result.subscribe(x => console.log(x)); // results in: // 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 Concatenate an array of 3 Observables var timer1 = Rx.Observable.interval(1000).take(10); var timer2 = Rx.Observable.interval(2000).take(6); var timer3 = Rx.Observable.interval(500).take(10); var result = Rx.Observable.concat([timer1, timer2, timer3]); // note that array is passed result.subscribe(x => console.log(x)); // results in the following: // (Prints to console sequentially) // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 Concatenate the same Observable to repeat it const timer = Rx.Observable.interval(1000).take(2); Rx.Observable.concat(timer, timer) // concating the same Observable! .subscribe( value => console.log(value), err => {}, () => console.log('...and it is done!') ); // Logs: // 0 after 1s // 1 after 2s // 0 after 3s // 1 after 4s // "...and it is done!" also after 4s |
| concat | ||||||||||||
concat(v1: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||
concat(v1: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||
concat(v1: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||
concat(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||||||
concat(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||||||||||||||||||||||||||
concat(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| concat | ||||||||
concat(...observables: undefined)
|
||||||||
|
Parameters :
|
| concat | ||||||||
concat(...observables: undefined)
|
||||||||
|
Parameters :
|
| concat | ||||||||
concat(observables: typeReference)
|
||||||||
|
Creates an output Observable which sequentially emits all values from given Observable and then moves on to the next. Concatenates multiple Observables together by sequentially emitting their values, one Observable after the other.
Note that if some input Observable never completes, If any Observable in chain errors, instead of passing control to the next Observable,
If you pass to
Parameters :
Example :
Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10 var timer = Rx.Observable.interval(1000).take(4); var sequence = Rx.Observable.range(1, 10); var result = Rx.Observable.concat(timer, sequence); result.subscribe(x => console.log(x)); // results in: // 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 -immediate-> 1 ... 10 Concatenate an array of 3 Observables var timer1 = Rx.Observable.interval(1000).take(10); var timer2 = Rx.Observable.interval(2000).take(6); var timer3 = Rx.Observable.interval(500).take(10); var result = Rx.Observable.concat([timer1, timer2, timer3]); // note that array is passed result.subscribe(x => console.log(x)); // results in the following: // (Prints to console sequentially) // -1000ms-> 0 -1000ms-> 1 -1000ms-> ... 9 // -2000ms-> 0 -2000ms-> 1 -2000ms-> ... 5 // -500ms-> 0 -500ms-> 1 -500ms-> ... 9 Concatenate the same Observable to repeat it const timer = Rx.Observable.interval(1000).take(2); Rx.Observable.concat(timer, timer) // concating the same Observable! .subscribe( value => console.log(value), err => {}, () => console.log('...and it is done!') ); // Logs: // 0 after 1s // 1 after 2s // 0 after 3s // 1 after 4s // "...and it is done!" also after 4s |
| concatAll | ||||||||
concatAll(this: typeReference)
|
||||||||
|
Parameters :
|
| concatAll | ||||||||
concatAll(this: typeReference)
|
||||||||
|
Converts a higher-order Observable into a first-order Observable by concatenating the inner Observables in order. Flattens an Observable-of-Observables by putting one inner Observable after the other.
Joins every Observable emitted by the source (a higher-order Observable), in a serial fashion. It subscribes to each inner Observable only after the previous inner Observable has completed, and merges all of their values into the returned observable. Warning: If the source Observable emits Observables quickly and endlessly, and the inner Observables it emits generally complete slower than the source emits, you can run into memory issues as the incoming Observables collect in an unbounded buffer. Note:
Parameters :
Example :
For each click event, tick every second from 0 to 3, with no concurrency var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map(ev => Rx.Observable.interval(1000).take(4)); var firstOrder = higherOrder.concatAll(); firstOrder.subscribe(x => console.log(x)); // Results in the following: // (results are not concurrent) // For every click on the "document" it will emit values 0 to 3 spaced // on a 1000ms interval // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 |
| concatAll | ||||||||
concatAll(this: typeReference)
|
||||||||
|
Parameters :
|
| concatAll |
concatAll()
|
|
Converts a higher-order Observable into a first-order Observable by concatenating the inner Observables in order. Flattens an Observable-of-Observables by putting one inner Observable after the other.
Joins every Observable emitted by the source (a higher-order Observable), in a serial fashion. It subscribes to each inner Observable only after the previous inner Observable has completed, and merges all of their values into the returned observable. Warning: If the source Observable emits Observables quickly and endlessly, and the inner Observables it emits generally complete slower than the source emits, you can run into memory issues as the incoming Observables collect in an unbounded buffer. Note:
Example :
For each click event, tick every second from 0 to 3, with no concurrency var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map(ev => Rx.Observable.interval(1000).take(4)); var firstOrder = higherOrder.concatAll(); firstOrder.subscribe(x => console.log(x)); // Results in the following: // (results are not concurrent) // For every click on the "document" it will emit values 0 to 3 spaced // on a 1000ms interval // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 |
| concatAll |
concatAll()
|
|
Converts a higher-order Observable into a first-order Observable by concatenating the inner Observables in order. Flattens an Observable-of-Observables by putting one inner Observable after the other.
Joins every Observable emitted by the source (a higher-order Observable), in a serial fashion. It subscribes to each inner Observable only after the previous inner Observable has completed, and merges all of their values into the returned observable. Warning: If the source Observable emits Observables quickly and endlessly, and the inner Observables it emits generally complete slower than the source emits, you can run into memory issues as the incoming Observables collect in an unbounded buffer. Note:
Example :
For each click event, tick every second from 0 to 3, with no concurrency var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map(ev => Rx.Observable.interval(1000).take(4)); var firstOrder = higherOrder.concatAll(); firstOrder.subscribe(x => console.log(x)); // Results in the following: // (results are not concurrent) // For every click on the "document" it will emit values 0 to 3 spaced // on a 1000ms interval // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 |
| concatAll | ||||||||
concatAll(this: typeReference)
|
||||||||
|
Parameters :
|
| concatAll | ||||||||
concatAll(this: typeReference)
|
||||||||
|
Parameters :
|
| concatAll | ||||||||
concatAll(this: typeReference)
|
||||||||
|
Converts a higher-order Observable into a first-order Observable by concatenating the inner Observables in order. Flattens an Observable-of-Observables by putting one inner Observable after the other.
Joins every Observable emitted by the source (a higher-order Observable), in a serial fashion. It subscribes to each inner Observable only after the previous inner Observable has completed, and merges all of their values into the returned observable. Warning: If the source Observable emits Observables quickly and endlessly, and the inner Observables it emits generally complete slower than the source emits, you can run into memory issues as the incoming Observables collect in an unbounded buffer. Note:
Parameters :
Example :
For each click event, tick every second from 0 to 3, with no concurrency var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map(ev => Rx.Observable.interval(1000).take(4)); var firstOrder = higherOrder.concatAll(); firstOrder.subscribe(x => console.log(x)); // Results in the following: // (results are not concurrent) // For every click on the "document" it will emit values 0 to 3 spaced // on a 1000ms interval // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 |
| concatMap | ||||||||
concatMap(project: undefined)
|
||||||||
|
Parameters :
|
| concatMap | ||||||||||||
concatMap(project: undefined, resultSelector: undefined)
|
||||||||||||
|
Parameters :
|
| concatMap | ||||||||||||
concatMap(project: undefined, resultSelector?: undefined)
|
||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable, in a serialized fashion waiting for each one to complete before merging the next. Maps each value to an Observable, then flattens all of these inner Observables using {@link concatAll}.
Returns an Observable that emits items based on applying a function that you supply to each item emitted by the source Observable, where that function returns an (so-called "inner") Observable. Each new inner Observable is concatenated with the previous inner Observable. Warning: if source values arrive endlessly and faster than their corresponding inner Observables can complete, it will result in memory issues as inner Observables amass in an unbounded buffer waiting for their turn to be subscribed to. Note:
Parameters :
Example :
For each click event, tick every second from 0 to 3, with no concurrency var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.concatMap(ev => Rx.Observable.interval(1000).take(4)); result.subscribe(x => console.log(x)); // Results in the following: // (results are not concurrent) // For every click on the "document" it will emit values 0 to 3 spaced // on a 1000ms interval // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 |
| concatMap | ||||||||
concatMap(project: undefined)
|
||||||||
|
Parameters :
|
| concatMap | ||||||||||||
concatMap(project: undefined, resultSelector: undefined)
|
||||||||||||
|
Parameters :
|
| concatMap | ||||||||||||
concatMap(project: undefined, resultSelector?: undefined)
|
||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable, in a serialized fashion waiting for each one to complete before merging the next. Maps each value to an Observable, then flattens all of these inner Observables using {@link concatAll}.
Returns an Observable that emits items based on applying a function that you supply to each item emitted by the source Observable, where that function returns an (so-called "inner") Observable. Each new inner Observable is concatenated with the previous inner Observable. Warning: if source values arrive endlessly and faster than their corresponding inner Observables can complete, it will result in memory issues as inner Observables amass in an unbounded buffer waiting for their turn to be subscribed to. Note:
Parameters :
Example :
For each click event, tick every second from 0 to 3, with no concurrency var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.concatMap(ev => Rx.Observable.interval(1000).take(4)); result.subscribe(x => console.log(x)); // Results in the following: // (results are not concurrent) // For every click on the "document" it will emit values 0 to 3 spaced // on a 1000ms interval // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 |
| concatMap | ||||||||||||
concatMap(this: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| concatMap | ||||||||||||||||
concatMap(this: typeReference, project: undefined, resultSelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| concatMap | ||||||||||||||||
concatMap(this: typeReference, project: undefined, resultSelector?: undefined)
|
||||||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable, in a serialized fashion waiting for each one to complete before merging the next. Maps each value to an Observable, then flattens all of these inner Observables using {@link concatAll}.
Returns an Observable that emits items based on applying a function that you supply to each item emitted by the source Observable, where that function returns an (so-called "inner") Observable. Each new inner Observable is concatenated with the previous inner Observable. Warning: if source values arrive endlessly and faster than their corresponding inner Observables can complete, it will result in memory issues as inner Observables amass in an unbounded buffer waiting for their turn to be subscribed to. Note:
Parameters :
Example :
For each click event, tick every second from 0 to 3, with no concurrency var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.concatMap(ev => Rx.Observable.interval(1000).take(4)); result.subscribe(x => console.log(x)); // Results in the following: // (results are not concurrent) // For every click on the "document" it will emit values 0 to 3 spaced // on a 1000ms interval // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 |
| concatMap | ||||||||||||
concatMap(this: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| concatMap | ||||||||||||||||
concatMap(this: typeReference, project: undefined, resultSelector?: undefined)
|
||||||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable, in a serialized fashion waiting for each one to complete before merging the next. Maps each value to an Observable, then flattens all of these inner Observables using {@link concatAll}.
Returns an Observable that emits items based on applying a function that you supply to each item emitted by the source Observable, where that function returns an (so-called "inner") Observable. Each new inner Observable is concatenated with the previous inner Observable. Warning: if source values arrive endlessly and faster than their corresponding inner Observables can complete, it will result in memory issues as inner Observables amass in an unbounded buffer waiting for their turn to be subscribed to. Note:
Parameters :
Example :
For each click event, tick every second from 0 to 3, with no concurrency var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.concatMap(ev => Rx.Observable.interval(1000).take(4)); result.subscribe(x => console.log(x)); // Results in the following: // (results are not concurrent) // For every click on the "document" it will emit values 0 to 3 spaced // on a 1000ms interval // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 |
| concatMap | ||||||||||||||||
concatMap(this: typeReference, project: undefined, resultSelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| concatMapTo | ||||||||
concatMapTo(observable: typeReference)
|
||||||||
|
Parameters :
|
| concatMapTo | ||||||||||||
concatMapTo(innerObservable: typeReference, resultSelector?: undefined)
|
||||||||||||
|
Projects each source value to the same Observable which is merged multiple times in a serialized fashion on the output Observable. It's like {@link concatMap}, but maps each value always to the same inner Observable.
Maps each source value to the given Observable Warning: if source values arrive endlessly and faster than their corresponding inner Observables can complete, it will result in memory issues as inner Observables amass in an unbounded buffer waiting for their turn to be subscribed to. Note:
Parameters :
Example :
For each click event, tick every second from 0 to 3, with no concurrency var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.concatMapTo(Rx.Observable.interval(1000).take(4)); result.subscribe(x => console.log(x)); // Results in the following: // (results are not concurrent) // For every click on the "document" it will emit values 0 to 3 spaced // on a 1000ms interval // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 |
| concatMapTo | ||||||||||||
concatMapTo(observable: typeReference, resultSelector: undefined)
|
||||||||||||
|
Parameters :
|
| concatMapTo | ||||||||||||
concatMapTo(this: typeReference, observable: typeReference)
|
||||||||||||
|
Parameters :
|
| concatMapTo | ||||||||||||||||
concatMapTo(this: typeReference, innerObservable: typeReference, resultSelector?: undefined)
|
||||||||||||||||
|
Projects each source value to the same Observable which is merged multiple times in a serialized fashion on the output Observable. It's like {@link concatMap}, but maps each value always to the same inner Observable.
Maps each source value to the given Observable Warning: if source values arrive endlessly and faster than their corresponding inner Observables can complete, it will result in memory issues as inner Observables amass in an unbounded buffer waiting for their turn to be subscribed to. Note:
Parameters :
Example :
For each click event, tick every second from 0 to 3, with no concurrency var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.concatMapTo(Rx.Observable.interval(1000).take(4)); result.subscribe(x => console.log(x)); // Results in the following: // (results are not concurrent) // For every click on the "document" it will emit values 0 to 3 spaced // on a 1000ms interval // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 |
| concatMapTo | ||||||||||||||||
concatMapTo(this: typeReference, observable: typeReference, resultSelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| concatMapTo | ||||||||||||||||
concatMapTo(this: typeReference, innerObservable: typeReference, resultSelector?: undefined)
|
||||||||||||||||
|
Projects each source value to the same Observable which is merged multiple times in a serialized fashion on the output Observable. It's like {@link concatMap}, but maps each value always to the same inner Observable.
Maps each source value to the given Observable Warning: if source values arrive endlessly and faster than their corresponding inner Observables can complete, it will result in memory issues as inner Observables amass in an unbounded buffer waiting for their turn to be subscribed to. Note:
Parameters :
Example :
For each click event, tick every second from 0 to 3, with no concurrency var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.concatMapTo(Rx.Observable.interval(1000).take(4)); result.subscribe(x => console.log(x)); // Results in the following: // (results are not concurrent) // For every click on the "document" it will emit values 0 to 3 spaced // on a 1000ms interval // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 |
| concatMapTo | ||||||||||||||||
concatMapTo(this: typeReference, observable: typeReference, resultSelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| concatMapTo | ||||||||||||
concatMapTo(this: typeReference, observable: typeReference)
|
||||||||||||
|
Parameters :
|
| concatMapTo | ||||||||
concatMapTo(observable: typeReference)
|
||||||||
|
Parameters :
|
| concatMapTo | ||||||||||||
concatMapTo(innerObservable: typeReference, resultSelector?: undefined)
|
||||||||||||
|
Projects each source value to the same Observable which is merged multiple times in a serialized fashion on the output Observable. It's like {@link concatMap}, but maps each value always to the same inner Observable.
Maps each source value to the given Observable Warning: if source values arrive endlessly and faster than their corresponding inner Observables can complete, it will result in memory issues as inner Observables amass in an unbounded buffer waiting for their turn to be subscribed to. Note:
Parameters :
Example :
For each click event, tick every second from 0 to 3, with no concurrency var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.concatMapTo(Rx.Observable.interval(1000).take(4)); result.subscribe(x => console.log(x)); // Results in the following: // (results are not concurrent) // For every click on the "document" it will emit values 0 to 3 spaced // on a 1000ms interval // one click = 1000ms-> 0 -1000ms-> 1 -1000ms-> 2 -1000ms-> 3 |
| concatMapTo | ||||||||||||
concatMapTo(observable: typeReference, resultSelector: undefined)
|
||||||||||||
|
Parameters :
|
| count | ||||||||
count(predicate?: undefined)
|
||||||||
|
Counts the number of emissions on the source and emits that number when the source completes. Tells how many values were emitted, when the source completes.
Parameters :
Example :
Counts how many seconds have passed before the first click happened var seconds = Rx.Observable.interval(1000); var clicks = Rx.Observable.fromEvent(document, 'click'); var secondsBeforeClick = seconds.takeUntil(clicks); var result = secondsBeforeClick.count(); result.subscribe(x => console.log(x)); Counts how many odd numbers are there between 1 and 7 var numbers = Rx.Observable.range(1, 7); var result = numbers.count(i => i % 2 === 1); result.subscribe(x => console.log(x)); // Results in: // 4 |
| count | ||||||||||||
count(this: typeReference, predicate?: undefined)
|
||||||||||||
|
Counts the number of emissions on the source and emits that number when the source completes. Tells how many values were emitted, when the source completes.
Parameters :
Example :
Counts how many seconds have passed before the first click happened var seconds = Rx.Observable.interval(1000); var clicks = Rx.Observable.fromEvent(document, 'click'); var secondsBeforeClick = seconds.takeUntil(clicks); var result = secondsBeforeClick.count(); result.subscribe(x => console.log(x)); Counts how many odd numbers are there between 1 and 7 var numbers = Rx.Observable.range(1, 7); var result = numbers.count(i => i % 2 === 1); result.subscribe(x => console.log(x)); // Results in: // 4 |
| count | ||||||||||||
count(this: typeReference, predicate?: undefined)
|
||||||||||||
|
Counts the number of emissions on the source and emits that number when the source completes. Tells how many values were emitted, when the source completes.
Parameters :
Example :
Counts how many seconds have passed before the first click happened var seconds = Rx.Observable.interval(1000); var clicks = Rx.Observable.fromEvent(document, 'click'); var secondsBeforeClick = seconds.takeUntil(clicks); var result = secondsBeforeClick.count(); result.subscribe(x => console.log(x)); Counts how many odd numbers are there between 1 and 7 var numbers = Rx.Observable.range(1, 7); var result = numbers.count(i => i % 2 === 1); result.subscribe(x => console.log(x)); // Results in: // 4 |
| count | ||||||||
count(predicate?: undefined)
|
||||||||
|
Counts the number of emissions on the source and emits that number when the source completes. Tells how many values were emitted, when the source completes.
Parameters :
Example :
Counts how many seconds have passed before the first click happened var seconds = Rx.Observable.interval(1000); var clicks = Rx.Observable.fromEvent(document, 'click'); var secondsBeforeClick = seconds.takeUntil(clicks); var result = secondsBeforeClick.count(); result.subscribe(x => console.log(x)); Counts how many odd numbers are there between 1 and 7 var numbers = Rx.Observable.range(1, 7); var result = numbers.count(i => i % 2 === 1); result.subscribe(x => console.log(x)); // Results in: // 4 |
| debounce | ||||||||||||
debounce(this: typeReference, durationSelector: undefined)
|
||||||||||||
|
Emits a value from the source Observable only after a particular time span determined by another Observable has passed without another source emission. It's like {@link debounceTime}, but the time span of emission silence is determined by a second Observable.
Like {@link debounceTime}, this is a rate-limiting operator, and also a delay-like operator since output emissions do not necessarily occur at the same time as they did on the source Observable.
Parameters :
Example :
Emit the most recent click after a burst of clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.debounce(() => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| debounce | ||||||||||||
debounce(this: typeReference, durationSelector: undefined)
|
||||||||||||
|
Emits a value from the source Observable only after a particular time span determined by another Observable has passed without another source emission. It's like {@link debounceTime}, but the time span of emission silence is determined by a second Observable.
Like {@link debounceTime}, this is a rate-limiting operator, and also a delay-like operator since output emissions do not necessarily occur at the same time as they did on the source Observable.
Parameters :
Example :
Emit the most recent click after a burst of clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.debounce(() => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| debounce | ||||||||
debounce(durationSelector: undefined)
|
||||||||
|
Emits a value from the source Observable only after a particular time span determined by another Observable has passed without another source emission. It's like {@link debounceTime}, but the time span of emission silence is determined by a second Observable.
Like {@link debounceTime}, this is a rate-limiting operator, and also a delay-like operator since output emissions do not necessarily occur at the same time as they did on the source Observable.
Parameters :
Example :
Emit the most recent click after a burst of clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.debounce(() => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| debounce | ||||||||
debounce(durationSelector: undefined)
|
||||||||
|
Emits a value from the source Observable only after a particular time span determined by another Observable has passed without another source emission. It's like {@link debounceTime}, but the time span of emission silence is determined by a second Observable.
Like {@link debounceTime}, this is a rate-limiting operator, and also a delay-like operator since output emissions do not necessarily occur at the same time as they did on the source Observable.
Parameters :
Example :
Emit the most recent click after a burst of clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.debounce(() => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| debounceTime | ||||||||||||
debounceTime(dueTime: number, scheduler: typeReference)
|
||||||||||||
|
Emits a value from the source Observable only after a particular time span has passed without another source emission. It's like {@link delay}, but passes only the most recent value from each burst of emissions.
This is a rate-limiting operator, because it is impossible for more than one
value to be emitted in any time window of duration
Parameters :
Example :
Emit the most recent click after a burst of clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.debounceTime(1000); result.subscribe(x => console.log(x)); |
| dispatchNext | ||||||||
dispatchNext(subscriber: typeReference)
|
||||||||
|
Parameters :
|
| debounceTime | ||||||||||||||||
debounceTime(this: typeReference, dueTime: number, scheduler: typeReference)
|
||||||||||||||||
|
Emits a value from the source Observable only after a particular time span has passed without another source emission. It's like {@link delay}, but passes only the most recent value from each burst of emissions.
This is a rate-limiting operator, because it is impossible for more than one
value to be emitted in any time window of duration
Parameters :
Example :
Emit the most recent click after a burst of clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.debounceTime(1000); result.subscribe(x => console.log(x)); |
| debounceTime | ||||||||||||||||
debounceTime(this: typeReference, dueTime: number, scheduler: typeReference)
|
||||||||||||||||
|
Emits a value from the source Observable only after a particular time span has passed without another source emission. It's like {@link delay}, but passes only the most recent value from each burst of emissions.
This is a rate-limiting operator, because it is impossible for more than one
value to be emitted in any time window of duration
Parameters :
Example :
Emit the most recent click after a burst of clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.debounceTime(1000); result.subscribe(x => console.log(x)); |
| debounceTime | ||||||||||||
debounceTime(dueTime: number, scheduler: typeReference)
|
||||||||||||
|
Emits a value from the source Observable only after a particular time span has passed without another source emission. It's like {@link delay}, but passes only the most recent value from each burst of emissions.
This is a rate-limiting operator, because it is impossible for more than one
value to be emitted in any time window of duration
Parameters :
Example :
Emit the most recent click after a burst of clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.debounceTime(1000); result.subscribe(x => console.log(x)); |
| dispatchNext | ||||||||
dispatchNext(subscriber: typeReference)
|
||||||||
|
Parameters :
|
| defaultIfEmpty | ||||||||||||
defaultIfEmpty(this: typeReference, defaultValue: typeReference)
|
||||||||||||
|
Emits a given value if the source Observable completes without emitting any
If the source Observable turns out to be empty, then this operator will emit a default value.
Parameters :
Example :
If no clicks happen in 5 seconds, then emit "no clicks" var clicks = Rx.Observable.fromEvent(document, 'click'); var clicksBeforeFive = clicks.takeUntil(Rx.Observable.interval(5000)); var result = clicksBeforeFive.defaultIfEmpty('no clicks'); result.subscribe(x => console.log(x)); |
| defaultIfEmpty | ||||||||||||
defaultIfEmpty(this: typeReference, defaultValue?: typeReference)
|
||||||||||||
|
Parameters :
|
| defaultIfEmpty | ||||||||||||
defaultIfEmpty(this: typeReference, defaultValue?: typeReference)
|
||||||||||||
|
Parameters :
|
| defaultIfEmpty | ||||||||
defaultIfEmpty(defaultValue: typeReference)
|
||||||||
|
Emits a given value if the source Observable completes without emitting any
If the source Observable turns out to be empty, then this operator will emit a default value.
Parameters :
Example :
If no clicks happen in 5 seconds, then emit "no clicks" var clicks = Rx.Observable.fromEvent(document, 'click'); var clicksBeforeFive = clicks.takeUntil(Rx.Observable.interval(5000)); var result = clicksBeforeFive.defaultIfEmpty('no clicks'); result.subscribe(x => console.log(x)); |
| defaultIfEmpty | ||||||||
defaultIfEmpty(defaultValue?: typeReference)
|
||||||||
|
Parameters :
|
| defaultIfEmpty | ||||||||
defaultIfEmpty(defaultValue?: typeReference)
|
||||||||
|
Parameters :
|
| defaultIfEmpty | ||||||||
defaultIfEmpty(defaultValue: typeReference)
|
||||||||
|
Emits a given value if the source Observable completes without emitting any
If the source Observable turns out to be empty, then this operator will emit a default value.
Parameters :
Example :
If no clicks happen in 5 seconds, then emit "no clicks" var clicks = Rx.Observable.fromEvent(document, 'click'); var clicksBeforeFive = clicks.takeUntil(Rx.Observable.interval(5000)); var result = clicksBeforeFive.defaultIfEmpty('no clicks'); result.subscribe(x => console.log(x)); |
| defaultIfEmpty | ||||||||
defaultIfEmpty(defaultValue?: typeReference)
|
||||||||
|
Parameters :
|
| defaultIfEmpty | ||||||||
defaultIfEmpty(defaultValue?: typeReference)
|
||||||||
|
Parameters :
|
| defaultIfEmpty | ||||||||||||
defaultIfEmpty(this: typeReference, defaultValue: typeReference)
|
||||||||||||
|
Emits a given value if the source Observable completes without emitting any
If the source Observable turns out to be empty, then this operator will emit a default value.
Parameters :
Example :
If no clicks happen in 5 seconds, then emit "no clicks" var clicks = Rx.Observable.fromEvent(document, 'click'); var clicksBeforeFive = clicks.takeUntil(Rx.Observable.interval(5000)); var result = clicksBeforeFive.defaultIfEmpty('no clicks'); result.subscribe(x => console.log(x)); |
| defaultIfEmpty | ||||||||||||
defaultIfEmpty(this: typeReference, defaultValue?: typeReference)
|
||||||||||||
|
Parameters :
|
| defaultIfEmpty | ||||||||||||
defaultIfEmpty(this: typeReference, defaultValue?: typeReference)
|
||||||||||||
|
Parameters :
|
| delay | ||||||||||||
delay(delay: undefined, scheduler: typeReference)
|
||||||||||||
|
Delays the emission of items from the source Observable by a given timeout or until a given Date. Time shifts each item by some specified amount of milliseconds.
If the delay argument is a Number, this operator time shifts the source Observable by that amount of time expressed in milliseconds. The relative time intervals between the values are preserved. If the delay argument is a Date, this operator time shifts the start of the Observable execution until the given date occurs.
Parameters :
Example :
Delay each click by one second var clicks = Rx.Observable.fromEvent(document, 'click'); var delayedClicks = clicks.delay(1000); // each click emitted after 1 second delayedClicks.subscribe(x => console.log(x)); Delay all clicks until a future date happens var clicks = Rx.Observable.fromEvent(document, 'click'); var date = new Date('March 15, 2050 12:00:00'); // in the future var delayedClicks = clicks.delay(date); // click emitted only after that date delayedClicks.subscribe(x => console.log(x)); |
| delay | ||||||||||||||||
delay(this: typeReference, delay: undefined, scheduler: typeReference)
|
||||||||||||||||
|
Delays the emission of items from the source Observable by a given timeout or until a given Date. Time shifts each item by some specified amount of milliseconds.
If the delay argument is a Number, this operator time shifts the source Observable by that amount of time expressed in milliseconds. The relative time intervals between the values are preserved. If the delay argument is a Date, this operator time shifts the start of the Observable execution until the given date occurs.
Parameters :
Example :
Delay each click by one second var clicks = Rx.Observable.fromEvent(document, 'click'); var delayedClicks = clicks.delay(1000); // each click emitted after 1 second delayedClicks.subscribe(x => console.log(x)); Delay all clicks until a future date happens var clicks = Rx.Observable.fromEvent(document, 'click'); var date = new Date('March 15, 2050 12:00:00'); // in the future var delayedClicks = clicks.delay(date); // click emitted only after that date delayedClicks.subscribe(x => console.log(x)); |
| delay | ||||||||||||
delay(delay: undefined, scheduler: typeReference)
|
||||||||||||
|
Delays the emission of items from the source Observable by a given timeout or until a given Date. Time shifts each item by some specified amount of milliseconds.
If the delay argument is a Number, this operator time shifts the source Observable by that amount of time expressed in milliseconds. The relative time intervals between the values are preserved. If the delay argument is a Date, this operator time shifts the start of the Observable execution until the given date occurs.
Parameters :
Example :
Delay each click by one second var clicks = Rx.Observable.fromEvent(document, 'click'); var delayedClicks = clicks.delay(1000); // each click emitted after 1 second delayedClicks.subscribe(x => console.log(x)); Delay all clicks until a future date happens var clicks = Rx.Observable.fromEvent(document, 'click'); var date = new Date('March 15, 2050 12:00:00'); // in the future var delayedClicks = clicks.delay(date); // click emitted only after that date delayedClicks.subscribe(x => console.log(x)); |
| delay | ||||||||||||||||
delay(this: typeReference, delay: undefined, scheduler: typeReference)
|
||||||||||||||||
|
Delays the emission of items from the source Observable by a given timeout or until a given Date. Time shifts each item by some specified amount of milliseconds.
If the delay argument is a Number, this operator time shifts the source Observable by that amount of time expressed in milliseconds. The relative time intervals between the values are preserved. If the delay argument is a Date, this operator time shifts the start of the Observable execution until the given date occurs.
Parameters :
Example :
Delay each click by one second var clicks = Rx.Observable.fromEvent(document, 'click'); var delayedClicks = clicks.delay(1000); // each click emitted after 1 second delayedClicks.subscribe(x => console.log(x)); Delay all clicks until a future date happens var clicks = Rx.Observable.fromEvent(document, 'click'); var date = new Date('March 15, 2050 12:00:00'); // in the future var delayedClicks = clicks.delay(date); // click emitted only after that date delayedClicks.subscribe(x => console.log(x)); |
| delayWhen | ||||||||||||||||
delayWhen(this: typeReference, delayDurationSelector: undefined, subscriptionDelay?: typeReference)
|
||||||||||||||||
|
Delays the emission of items from the source Observable by a given time span determined by the emissions of another Observable. It's like {@link delay}, but the time span of the delay duration is determined by a second Observable.
Optionally,
Parameters :
Example :
Delay each click by a random amount of time, between 0 and 5 seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var delayedClicks = clicks.delayWhen(event => Rx.Observable.interval(Math.random() * 5000) ); delayedClicks.subscribe(x => console.log(x)); |
| delayWhen | ||||||||||||
delayWhen(delayDurationSelector: undefined, subscriptionDelay?: typeReference)
|
||||||||||||
|
Delays the emission of items from the source Observable by a given time span determined by the emissions of another Observable. It's like {@link delay}, but the time span of the delay duration is determined by a second Observable.
Optionally,
Parameters :
Example :
Delay each click by a random amount of time, between 0 and 5 seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var delayedClicks = clicks.delayWhen(event => Rx.Observable.interval(Math.random() * 5000) ); delayedClicks.subscribe(x => console.log(x)); |
| delayWhen | ||||||||||||
delayWhen(delayDurationSelector: undefined, subscriptionDelay?: typeReference)
|
||||||||||||
|
Delays the emission of items from the source Observable by a given time span determined by the emissions of another Observable. It's like {@link delay}, but the time span of the delay duration is determined by a second Observable.
Optionally,
Parameters :
Example :
Delay each click by a random amount of time, between 0 and 5 seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var delayedClicks = clicks.delayWhen(event => Rx.Observable.interval(Math.random() * 5000) ); delayedClicks.subscribe(x => console.log(x)); |
| delayWhen | ||||||||||||||||
delayWhen(this: typeReference, delayDurationSelector: undefined, subscriptionDelay?: typeReference)
|
||||||||||||||||
|
Delays the emission of items from the source Observable by a given time span determined by the emissions of another Observable. It's like {@link delay}, but the time span of the delay duration is determined by a second Observable.
Optionally,
Parameters :
Example :
Delay each click by a random amount of time, between 0 and 5 seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var delayedClicks = clicks.delayWhen(event => Rx.Observable.interval(Math.random() * 5000) ); delayedClicks.subscribe(x => console.log(x)); |
| dematerialize | ||||||||
dematerialize(this: typeReference)
|
||||||||
|
Converts an Observable of Notification objects into the emissions that they represent. Unwraps Notification objects as actual
Use this operator in conjunction with {@link materialize}.
Parameters :
Example :
Convert an Observable of Notifications to an actual Observable var notifA = new Rx.Notification('N', 'A'); var notifB = new Rx.Notification('N', 'B'); var notifE = new Rx.Notification('E', void 0, new TypeError('x.toUpperCase is not a function') ); var materialized = Rx.Observable.of(notifA, notifB, notifE); var upperCase = materialized.dematerialize(); upperCase.subscribe(x => console.log(x), e => console.error(e)); // Results in: // A // B // TypeError: x.toUpperCase is not a function |
| dematerialize | ||||||||
dematerialize(this: typeReference)
|
||||||||
|
Converts an Observable of Notification objects into the emissions that they represent. Unwraps Notification objects as actual
Use this operator in conjunction with {@link materialize}.
Parameters :
Example :
Convert an Observable of Notifications to an actual Observable var notifA = new Rx.Notification('N', 'A'); var notifB = new Rx.Notification('N', 'B'); var notifE = new Rx.Notification('E', void 0, new TypeError('x.toUpperCase is not a function') ); var materialized = Rx.Observable.of(notifA, notifB, notifE); var upperCase = materialized.dematerialize(); upperCase.subscribe(x => console.log(x), e => console.error(e)); // Results in: // A // B // TypeError: x.toUpperCase is not a function |
| dematerialize |
dematerialize()
|
|
Converts an Observable of Notification objects into the emissions that they represent. Unwraps Notification objects as actual
Use this operator in conjunction with {@link materialize}.
Example :
Convert an Observable of Notifications to an actual Observable var notifA = new Rx.Notification('N', 'A'); var notifB = new Rx.Notification('N', 'B'); var notifE = new Rx.Notification('E', void 0, new TypeError('x.toUpperCase is not a function') ); var materialized = Rx.Observable.of(notifA, notifB, notifE); var upperCase = materialized.dematerialize(); upperCase.subscribe(x => console.log(x), e => console.error(e)); // Results in: // A // B // TypeError: x.toUpperCase is not a function |
| dematerialize |
dematerialize()
|
|
Converts an Observable of Notification objects into the emissions that they represent. Unwraps Notification objects as actual
Use this operator in conjunction with {@link materialize}.
Example :
Convert an Observable of Notifications to an actual Observable var notifA = new Rx.Notification('N', 'A'); var notifB = new Rx.Notification('N', 'B'); var notifE = new Rx.Notification('E', void 0, new TypeError('x.toUpperCase is not a function') ); var materialized = Rx.Observable.of(notifA, notifB, notifE); var upperCase = materialized.dematerialize(); upperCase.subscribe(x => console.log(x), e => console.error(e)); // Results in: // A // B // TypeError: x.toUpperCase is not a function |
| dispatch | ||||||||||||
dispatch(this: typeReference, state: typeReference)
|
||||||||||||
|
Parameters :
|
| dispatchError | ||||||||
dispatchError(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchNext | ||||||||
dispatchNext(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatch | ||||||||||||
dispatch(this: typeReference, state: typeReference)
|
||||||||||||
|
Parameters :
|
| dispatch | ||||||||||||
dispatch(this: typeReference, state: typeReference)
|
||||||||||||
|
Parameters :
|
| dispatch | ||||||||||||
dispatch(this: typeReference, state: typeReference)
|
||||||||||||
|
Parameters :
|
| dispatchError | ||||||||
dispatchError(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchNext | ||||||||
dispatchNext(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchError | ||||||||
dispatchError(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchNext | ||||||||
dispatchNext(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchError | ||||||||
dispatchError(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchNext | ||||||||
dispatchNext(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchError | ||||||||
dispatchError(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchNext | ||||||||
dispatchNext(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchError | ||||||||
dispatchError(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchNext | ||||||||
dispatchNext(arg: typeReference)
|
||||||||
|
Parameters :
|
| dispatchNext | ||||||||
dispatchNext(arg: typeReference)
|
||||||||
|
Parameters :
|
| throttleTime | ||||||||||||||||
throttleTime(duration: number, scheduler: typeReference, config: typeReference)
|
||||||||||||||||
|
Emits a value from the source Observable, then ignores subsequent source
values for Lets a value pass, then ignores source values for the
next
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.throttleTime(1000); result.subscribe(x => console.log(x)); |
| dispatchNext | ||||||||
dispatchNext(arg: typeReference)
|
||||||||
|
Parameters :
|
| throttleTime | ||||||||||||||||
throttleTime(duration: number, scheduler: typeReference, config: typeReference)
|
||||||||||||||||
|
Emits a value from the source Observable, then ignores subsequent source
values for Lets a value pass, then ignores source values for the
next
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.throttleTime(1000); result.subscribe(x => console.log(x)); |
| dispatchNotification | ||||||||||||
dispatchNotification(this: typeReference, state: any)
|
||||||||||||
|
Parameters :
|
| sampleTime | ||||||||||||
sampleTime(period: number, scheduler: typeReference)
|
||||||||||||
|
Emits the most recently emitted value from the source Observable within periodic time intervals. Samples the source Observable at periodic time intervals, emitting what it samples.
Parameters :
Example :
Every second, emit the most recent click at most once var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.sampleTime(1000); result.subscribe(x => console.log(x)); |
| dispatchNotification | ||||||||||||
dispatchNotification(this: typeReference, state: any)
|
||||||||||||
|
Parameters :
|
| sampleTime | ||||||||||||
sampleTime(period: number, scheduler: typeReference)
|
||||||||||||
|
Emits the most recently emitted value from the source Observable within periodic time intervals. Samples the source Observable at periodic time intervals, emitting what it samples.
Parameters :
Example :
Every second, emit the most recent click at most once var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.sampleTime(1000); result.subscribe(x => console.log(x)); |
| dispatchWindowClose | ||||||||
dispatchWindowClose(state: typeReference)
|
||||||||
|
Parameters :
|
| dispatchWindowCreation | ||||||||||||
dispatchWindowCreation(this: typeReference, state: typeReference)
|
||||||||||||
|
Parameters :
|
| dispatchWindowTimeSpanOnly | ||||||||||||
dispatchWindowTimeSpanOnly(this: typeReference, state: typeReference)
|
||||||||||||
|
Parameters :
|
| windowTime | ||||||||||||
windowTime(windowTimeSpan: number, scheduler?: typeReference)
|
||||||||||||
|
Branch out the source Observable values as a nested Observable periodically in time. It's like {@link bufferTime}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable starts a new window periodically, as
determined by the
Parameters :
Example :
In every window of 1 second each, emit at most 2 click events var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowTime(1000) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); Every 5 seconds start a window 1 second long, and emit at most 2 click events per window var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowTime(1000, 5000) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); Same as example above but with maxWindowCount instead of take var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowTime(1000, 5000, 2) // each window has still at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| windowTime | ||||||||||||||||
windowTime(windowTimeSpan: number, windowCreationInterval: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| windowTime | ||||||||||||||||||||
windowTime(windowTimeSpan: number, windowCreationInterval: number, maxWindowSize: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| windowTime | ||||||||
windowTime(windowTimeSpan: number)
|
||||||||
|
Parameters :
|
| dispatchWindowClose | ||||||||
dispatchWindowClose(state: typeReference)
|
||||||||
|
Parameters :
|
| dispatchWindowCreation | ||||||||||||
dispatchWindowCreation(this: typeReference, state: typeReference)
|
||||||||||||
|
Parameters :
|
| dispatchWindowTimeSpanOnly | ||||||||||||
dispatchWindowTimeSpanOnly(this: typeReference, state: typeReference)
|
||||||||||||
|
Parameters :
|
| windowTime | ||||||||||||||||||||
windowTime(windowTimeSpan: number, windowCreationInterval: number, maxWindowSize: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| windowTime | ||||||||||||||||
windowTime(windowTimeSpan: number, windowCreationInterval: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| windowTime | ||||||||||||
windowTime(windowTimeSpan: number, scheduler?: typeReference)
|
||||||||||||
|
Branch out the source Observable values as a nested Observable periodically in time. It's like {@link bufferTime}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable starts a new window periodically, as
determined by the
Parameters :
Example :
In every window of 1 second each, emit at most 2 click events var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowTime(1000) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); Every 5 seconds start a window 1 second long, and emit at most 2 click events per window var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowTime(1000, 5000) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); Same as example above but with maxWindowCount instead of take var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowTime(1000, 5000, 2) // each window has still at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| windowTime | ||||||||
windowTime(windowTimeSpan: number)
|
||||||||
|
Parameters :
|
| distinct | ||||||||||||||||
distinct(this: typeReference, keySelector?: undefined, flushes?: typeReference)
|
||||||||||||||||
|
Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items. If a keySelector function is provided, then it will project each value from the source observable into a new value that it will check for equality with previously projected values. If a keySelector function is not provided, it will use each value from the source observable directly with an equality check against previous values. In JavaScript runtimes that support In other runtimes, this operator will use a minimal implementation of
Parameters :
Example :
A simple example with numbers Observable.of(1, 1, 2, 2, 2, 1, 2, 3, 4, 3, 2, 1) .distinct() .subscribe(x => console.log(x)); // 1, 2, 3, 4 An example using a keySelector function interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo' } // { age: 7, name: 'Bar' } |
| distinct | ||||||||||||
distinct(keySelector?: undefined, flushes?: typeReference)
|
||||||||||||
|
Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items. If a keySelector function is provided, then it will project each value from the source observable into a new value that it will check for equality with previously projected values. If a keySelector function is not provided, it will use each value from the source observable directly with an equality check against previous values. In JavaScript runtimes that support In other runtimes, this operator will use a minimal implementation of
Parameters :
Example :
A simple example with numbers Observable.of(1, 1, 2, 2, 2, 1, 2, 3, 4, 3, 2, 1) .distinct() .subscribe(x => console.log(x)); // 1, 2, 3, 4 An example using a keySelector function interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo' } // { age: 7, name: 'Bar' } |
| distinct | ||||||||||||||||
distinct(this: typeReference, keySelector?: undefined, flushes?: typeReference)
|
||||||||||||||||
|
Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items. If a keySelector function is provided, then it will project each value from the source observable into a new value that it will check for equality with previously projected values. If a keySelector function is not provided, it will use each value from the source observable directly with an equality check against previous values. In JavaScript runtimes that support In other runtimes, this operator will use a minimal implementation of
Parameters :
Example :
A simple example with numbers Observable.of(1, 1, 2, 2, 2, 1, 2, 3, 4, 3, 2, 1) .distinct() .subscribe(x => console.log(x)); // 1, 2, 3, 4 An example using a keySelector function interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo' } // { age: 7, name: 'Bar' } |
| distinct | ||||||||||||
distinct(keySelector?: undefined, flushes?: typeReference)
|
||||||||||||
|
Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items. If a keySelector function is provided, then it will project each value from the source observable into a new value that it will check for equality with previously projected values. If a keySelector function is not provided, it will use each value from the source observable directly with an equality check against previous values. In JavaScript runtimes that support In other runtimes, this operator will use a minimal implementation of
Parameters :
Example :
A simple example with numbers Observable.of(1, 1, 2, 2, 2, 1, 2, 3, 4, 3, 2, 1) .distinct() .subscribe(x => console.log(x)); // 1, 2, 3, 4 An example using a keySelector function interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo' } // { age: 7, name: 'Bar' } |
| distinctUntilChanged | ||||||||
distinctUntilChanged(compare?: undefined)
|
||||||||
|
Parameters :
|
| distinctUntilChanged | ||||||||||||
distinctUntilChanged(compare?: undefined, keySelector?: undefined)
|
||||||||||||
|
Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item. If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. If a comparator function is not provided, an equality check is used by default.
Parameters :
Example :
A simple example with numbers Observable.of(1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 4) .distinctUntilChanged() .subscribe(x => console.log(x)); // 1, 2, 1, 2, 3, 4 An example using a compare function interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo' } // { age: 7, name: 'Bar' } // { age: 5, name: 'Foo' } |
| distinctUntilChanged | ||||||||||||
distinctUntilChanged(compare: undefined, keySelector: undefined)
|
||||||||||||
|
Parameters :
|
| distinctUntilChanged | ||||||||||||
distinctUntilChanged(this: typeReference, compare?: undefined)
|
||||||||||||
|
Parameters :
|
| distinctUntilChanged | ||||||||||||||||
distinctUntilChanged(this: typeReference, compare: undefined, keySelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| distinctUntilChanged | ||||||||||||||||
distinctUntilChanged(this: typeReference, compare?: undefined, keySelector?: undefined)
|
||||||||||||||||
|
Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item. If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. If a comparator function is not provided, an equality check is used by default.
Parameters :
Example :
A simple example with numbers Observable.of(1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 4) .distinctUntilChanged() .subscribe(x => console.log(x)); // 1, 2, 1, 2, 3, 4 An example using a compare function interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo' } // { age: 7, name: 'Bar' } // { age: 5, name: 'Foo' } |
| distinctUntilChanged | ||||||||||||||||
distinctUntilChanged(this: typeReference, compare?: undefined, keySelector?: undefined)
|
||||||||||||||||
|
Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item. If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. If a comparator function is not provided, an equality check is used by default.
Parameters :
Example :
A simple example with numbers Observable.of(1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 4) .distinctUntilChanged() .subscribe(x => console.log(x)); // 1, 2, 1, 2, 3, 4 An example using a compare function interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo' } // { age: 7, name: 'Bar' } // { age: 5, name: 'Foo' } |
| distinctUntilChanged | ||||||||||||||||
distinctUntilChanged(this: typeReference, compare: undefined, keySelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| distinctUntilChanged | ||||||||||||
distinctUntilChanged(this: typeReference, compare?: undefined)
|
||||||||||||
|
Parameters :
|
| distinctUntilChanged | ||||||||
distinctUntilChanged(compare?: undefined)
|
||||||||
|
Parameters :
|
| distinctUntilChanged | ||||||||||||
distinctUntilChanged(compare: undefined, keySelector: undefined)
|
||||||||||||
|
Parameters :
|
| distinctUntilChanged | ||||||||||||
distinctUntilChanged(compare?: undefined, keySelector?: undefined)
|
||||||||||||
|
Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item. If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. If a comparator function is not provided, an equality check is used by default.
Parameters :
Example :
A simple example with numbers Observable.of(1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 4) .distinctUntilChanged() .subscribe(x => console.log(x)); // 1, 2, 1, 2, 3, 4 An example using a compare function interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo' } // { age: 7, name: 'Bar' } // { age: 5, name: 'Foo' } |
| distinctUntilKeyChanged | ||||||||
distinctUntilKeyChanged(key: string)
|
||||||||
|
Parameters :
|
| distinctUntilKeyChanged | ||||||||||||
distinctUntilKeyChanged(key: string, compare: undefined)
|
||||||||||||
|
Parameters :
|
| distinctUntilKeyChanged | ||||||||||||
distinctUntilKeyChanged(key: string, compare?: undefined)
|
||||||||||||
|
Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item, using a property accessed by using the key provided to check if the two items are distinct. If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. If a comparator function is not provided, an equality check is used by default.
Parameters :
Example :
An example comparing the name of persons
interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo' } // { age: 7, name: 'Bar' } // { age: 5, name: 'Foo' }
An example comparing the first letters of the name
interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo1' } // { age: 7, name: 'Bar' } // { age: 5, name: 'Foo2' } |
| distinctUntilKeyChanged | ||||||||||||||||
distinctUntilKeyChanged(this: typeReference, key: string, compare: undefined)
|
||||||||||||||||
|
Parameters :
|
| distinctUntilKeyChanged | ||||||||||||||||
distinctUntilKeyChanged(this: typeReference, key: string, compare?: undefined)
|
||||||||||||||||
|
Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item, using a property accessed by using the key provided to check if the two items are distinct. If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. If a comparator function is not provided, an equality check is used by default.
Parameters :
Example :
An example comparing the name of persons
interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo' } // { age: 7, name: 'Bar' } // { age: 5, name: 'Foo' }
An example comparing the first letters of the name
interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo1' } // { age: 7, name: 'Bar' } // { age: 5, name: 'Foo2' } |
| distinctUntilKeyChanged | ||||||||||||
distinctUntilKeyChanged(this: typeReference, key: string)
|
||||||||||||
|
Parameters :
|
| distinctUntilKeyChanged | ||||||||||||
distinctUntilKeyChanged(this: typeReference, key: string)
|
||||||||||||
|
Parameters :
|
| distinctUntilKeyChanged | ||||||||||||||||
distinctUntilKeyChanged(this: typeReference, key: string, compare: undefined)
|
||||||||||||||||
|
Parameters :
|
| distinctUntilKeyChanged | ||||||||||||||||
distinctUntilKeyChanged(this: typeReference, key: string, compare?: undefined)
|
||||||||||||||||
|
Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item, using a property accessed by using the key provided to check if the two items are distinct. If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. If a comparator function is not provided, an equality check is used by default.
Parameters :
Example :
An example comparing the name of persons
interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo' } // { age: 7, name: 'Bar' } // { age: 5, name: 'Foo' }
An example comparing the first letters of the name
interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo1' } // { age: 7, name: 'Bar' } // { age: 5, name: 'Foo2' } |
| distinctUntilKeyChanged | ||||||||||||
distinctUntilKeyChanged(key: string, compare?: undefined)
|
||||||||||||
|
Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from the previous item, using a property accessed by using the key provided to check if the two items are distinct. If a comparator function is provided, then it will be called for each item to test for whether or not that value should be emitted. If a comparator function is not provided, an equality check is used by default.
Parameters :
Example :
An example comparing the name of persons
interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo' } // { age: 7, name: 'Bar' } // { age: 5, name: 'Foo' }
An example comparing the first letters of the name
interface Person { age: number, name: string } Observable.of // displays: // { age: 4, name: 'Foo1' } // { age: 7, name: 'Bar' } // { age: 5, name: 'Foo2' } |
| distinctUntilKeyChanged | ||||||||
distinctUntilKeyChanged(key: string)
|
||||||||
|
Parameters :
|
| distinctUntilKeyChanged | ||||||||||||
distinctUntilKeyChanged(key: string, compare: undefined)
|
||||||||||||
|
Parameters :
|
| elementAt | ||||||||||||||||
elementAt(this: typeReference, index: number, defaultValue?: typeReference)
|
||||||||||||||||
|
Emits the single value at the specified Emits only the i-th value, then completes.
Parameters :
Example :
Emit only the third click event var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.elementAt(2); result.subscribe(x => console.log(x)); // Results in: // click 1 = nothing // click 2 = nothing // click 3 = MouseEvent object logged to console |
| elementAt | ||||||||||||
elementAt(index: number, defaultValue?: typeReference)
|
||||||||||||
|
Emits the single value at the specified Emits only the i-th value, then completes.
Parameters :
Example :
Emit only the third click event var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.elementAt(2); result.subscribe(x => console.log(x)); // Results in: // click 1 = nothing // click 2 = nothing // click 3 = MouseEvent object logged to console |
| elementAt | ||||||||||||
elementAt(index: number, defaultValue?: typeReference)
|
||||||||||||
|
Emits the single value at the specified Emits only the i-th value, then completes.
Parameters :
Example :
Emit only the third click event var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.elementAt(2); result.subscribe(x => console.log(x)); // Results in: // click 1 = nothing // click 2 = nothing // click 3 = MouseEvent object logged to console |
| elementAt | ||||||||||||||||
elementAt(this: typeReference, index: number, defaultValue?: typeReference)
|
||||||||||||||||
|
Emits the single value at the specified Emits only the i-th value, then completes.
Parameters :
Example :
Emit only the third click event var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.elementAt(2); result.subscribe(x => console.log(x)); // Results in: // click 1 = nothing // click 2 = nothing // click 3 = MouseEvent object logged to console |
| eventTargetPatch | ||||||||||||
eventTargetPatch(_global: any, api: typeReference)
|
||||||||||||
|
Parameters :
|
| patchEvent | ||||||||||||
patchEvent(global: any, api: typeReference)
|
||||||||||||
|
Parameters :
|
| eventTargetPatch | ||||||||||||
eventTargetPatch(_global: any, api: typeReference)
|
||||||||||||
|
Parameters :
|
| patchEvent | ||||||||||||
patchEvent(global: any, api: typeReference)
|
||||||||||||
|
Parameters :
|
| every | ||||||||||||
every(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Returns an Observable that emits whether or not every item of the source satisfies the condition specified.
Parameters :
Example :
A simple example emitting true if all elements are less than 5, false otherwise Observable.of(1, 2, 3, 4, 5, 6) .every(x => x < 5) .subscribe(x => console.log(x)); // -> false |
| every | ||||||||||||
every(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Returns an Observable that emits whether or not every item of the source satisfies the condition specified.
Parameters :
Example :
A simple example emitting true if all elements are less than 5, false otherwise Observable.of(1, 2, 3, 4, 5, 6) .every(x => x < 5) .subscribe(x => console.log(x)); // -> false |
| every | ||||||||||||||||
every(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Returns an Observable that emits whether or not every item of the source satisfies the condition specified.
Parameters :
Example :
A simple example emitting true if all elements are less than 5, false otherwise Observable.of(1, 2, 3, 4, 5, 6) .every(x => x < 5) .subscribe(x => console.log(x)); // -> false |
| every | ||||||||||||||||
every(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Returns an Observable that emits whether or not every item of the source satisfies the condition specified.
Parameters :
Example :
A simple example emitting true if all elements are less than 5, false otherwise Observable.of(1, 2, 3, 4, 5, 6) .every(x => x < 5) .subscribe(x => console.log(x)); // -> false |
| exhaust |
exhaust()
|
|
Converts a higher-order Observable into a first-order Observable by dropping inner Observables while the previous inner Observable has not yet completed. Flattens an Observable-of-Observables by dropping the next inner Observables while the current inner is still executing.
Example :
Run a finite timer for each click, only if there is no currently active timer var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(5)); var result = higherOrder.exhaust(); result.subscribe(x => console.log(x)); |
| exhaust | ||||||||
exhaust(this: typeReference)
|
||||||||
|
Converts a higher-order Observable into a first-order Observable by dropping inner Observables while the previous inner Observable has not yet completed. Flattens an Observable-of-Observables by dropping the next inner Observables while the current inner is still executing.
Parameters :
Example :
Run a finite timer for each click, only if there is no currently active timer var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(5)); var result = higherOrder.exhaust(); result.subscribe(x => console.log(x)); |
| exhaust | ||||||||
exhaust(this: typeReference)
|
||||||||
|
Converts a higher-order Observable into a first-order Observable by dropping inner Observables while the previous inner Observable has not yet completed. Flattens an Observable-of-Observables by dropping the next inner Observables while the current inner is still executing.
Parameters :
Example :
Run a finite timer for each click, only if there is no currently active timer var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(5)); var result = higherOrder.exhaust(); result.subscribe(x => console.log(x)); |
| exhaust |
exhaust()
|
|
Converts a higher-order Observable into a first-order Observable by dropping inner Observables while the previous inner Observable has not yet completed. Flattens an Observable-of-Observables by dropping the next inner Observables while the current inner is still executing.
Example :
Run a finite timer for each click, only if there is no currently active timer var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(5)); var result = higherOrder.exhaust(); result.subscribe(x => console.log(x)); |
| exhaustMap | ||||||||||||
exhaustMap(project: undefined, resultSelector?: undefined)
|
||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable only if the previous projected Observable has completed. Maps each value to an Observable, then flattens all of these inner Observables using {@link exhaust}.
Returns an Observable that emits items based on applying a function that you
supply to each item emitted by the source Observable, where that function
returns an (so-called "inner") Observable. When it projects a source value to
an Observable, the output Observable begins emitting the items emitted by
that projected Observable. However,
Parameters :
Example :
Run a finite timer for each click, only if there is no currently active timer var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.exhaustMap((ev) => Rx.Observable.interval(1000).take(5)); result.subscribe(x => console.log(x)); |
| exhaustMap | ||||||||
exhaustMap(project: undefined)
|
||||||||
|
Parameters :
|
| exhaustMap | ||||||||||||
exhaustMap(project: undefined, resultSelector: undefined)
|
||||||||||||
|
Parameters :
|
| exhaustMap | ||||||||||||||||
exhaustMap(this: typeReference, project: undefined, resultSelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| exhaustMap | ||||||||||||
exhaustMap(this: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| exhaustMap | ||||||||||||||||
exhaustMap(this: typeReference, project: undefined, resultSelector?: undefined)
|
||||||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable only if the previous projected Observable has completed. Maps each value to an Observable, then flattens all of these inner Observables using {@link exhaust}.
Returns an Observable that emits items based on applying a function that you
supply to each item emitted by the source Observable, where that function
returns an (so-called "inner") Observable. When it projects a source value to
an Observable, the output Observable begins emitting the items emitted by
that projected Observable. However,
Parameters :
Example :
Run a finite timer for each click, only if there is no currently active timer var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.exhaustMap((ev) => Rx.Observable.interval(1000).take(5)); result.subscribe(x => console.log(x)); |
| exhaustMap | ||||||||||||||||
exhaustMap(this: typeReference, project: undefined, resultSelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| exhaustMap | ||||||||||||||||
exhaustMap(this: typeReference, project: undefined, resultSelector?: undefined)
|
||||||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable only if the previous projected Observable has completed. Maps each value to an Observable, then flattens all of these inner Observables using {@link exhaust}.
Returns an Observable that emits items based on applying a function that you
supply to each item emitted by the source Observable, where that function
returns an (so-called "inner") Observable. When it projects a source value to
an Observable, the output Observable begins emitting the items emitted by
that projected Observable. However,
Parameters :
Example :
Run a finite timer for each click, only if there is no currently active timer var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.exhaustMap((ev) => Rx.Observable.interval(1000).take(5)); result.subscribe(x => console.log(x)); |
| exhaustMap | ||||||||||||
exhaustMap(this: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| exhaustMap | ||||||||||||
exhaustMap(project: undefined, resultSelector?: undefined)
|
||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable only if the previous projected Observable has completed. Maps each value to an Observable, then flattens all of these inner Observables using {@link exhaust}.
Returns an Observable that emits items based on applying a function that you
supply to each item emitted by the source Observable, where that function
returns an (so-called "inner") Observable. When it projects a source value to
an Observable, the output Observable begins emitting the items emitted by
that projected Observable. However,
Parameters :
Example :
Run a finite timer for each click, only if there is no currently active timer var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.exhaustMap((ev) => Rx.Observable.interval(1000).take(5)); result.subscribe(x => console.log(x)); |
| exhaustMap | ||||||||
exhaustMap(project: undefined)
|
||||||||
|
Parameters :
|
| exhaustMap | ||||||||||||
exhaustMap(project: undefined, resultSelector: undefined)
|
||||||||||||
|
Parameters :
|
| expand | ||||||||||||||||||||
expand(this: typeReference, project: undefined, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| expand | ||||||||||||||||||||
expand(this: typeReference, project: undefined, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| expand | ||||||||||||||||||||
expand(this: typeReference, project: undefined, concurrent: number, scheduler: typeReference)
|
||||||||||||||||||||
|
Recursively projects each source value to an Observable which is merged in the output Observable. It's similar to {@link mergeMap}, but applies the projection function to every source value as well as every output value. It's recursive.
Returns an Observable that emits items based on applying a function that you
supply to each item emitted by the source Observable, where that function
returns an Observable, and then merging those resulting Observables and
emitting the results of this merger. Expand will re-emit on the output
Observable every source value. Then, each output value is given to the
Parameters :
Example :
Start emitting the powers of two on every click, at most 10 of them var clicks = Rx.Observable.fromEvent(document, 'click'); var powersOfTwo = clicks .mapTo(1) .expand(x => Rx.Observable.of(2 * x).delay(1000)) .take(10); powersOfTwo.subscribe(x => console.log(x)); |
| expand | ||||||||||||||||||||
expand(this: typeReference, project: undefined, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| expand | ||||||||||||||||||||
expand(this: typeReference, project: undefined, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| expand | ||||||||||||||||||||
expand(this: typeReference, project: undefined, concurrent: number, scheduler: typeReference)
|
||||||||||||||||||||
|
Recursively projects each source value to an Observable which is merged in the output Observable. It's similar to {@link mergeMap}, but applies the projection function to every source value as well as every output value. It's recursive.
Returns an Observable that emits items based on applying a function that you
supply to each item emitted by the source Observable, where that function
returns an Observable, and then merging those resulting Observables and
emitting the results of this merger. Expand will re-emit on the output
Observable every source value. Then, each output value is given to the
Parameters :
Example :
Start emitting the powers of two on every click, at most 10 of them var clicks = Rx.Observable.fromEvent(document, 'click'); var powersOfTwo = clicks .mapTo(1) .expand(x => Rx.Observable.of(2 * x).delay(1000)) .take(10); powersOfTwo.subscribe(x => console.log(x)); |
| expand | ||||||||||||||||
expand(project: undefined, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| expand | ||||||||||||||||
expand(project: undefined, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| expand | ||||||||||||||||
expand(project: undefined, concurrent: number, scheduler: typeReference)
|
||||||||||||||||
|
Recursively projects each source value to an Observable which is merged in the output Observable. It's similar to {@link mergeMap}, but applies the projection function to every source value as well as every output value. It's recursive.
Returns an Observable that emits items based on applying a function that you
supply to each item emitted by the source Observable, where that function
returns an Observable, and then merging those resulting Observables and
emitting the results of this merger. Expand will re-emit on the output
Observable every source value. Then, each output value is given to the
Parameters :
Example :
Start emitting the powers of two on every click, at most 10 of them var clicks = Rx.Observable.fromEvent(document, 'click'); var powersOfTwo = clicks .mapTo(1) .expand(x => Rx.Observable.of(2 * x).delay(1000)) .take(10); powersOfTwo.subscribe(x => console.log(x)); |
| expand | ||||||||||||||||
expand(project: undefined, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| expand | ||||||||||||||||
expand(project: undefined, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| expand | ||||||||||||||||
expand(project: undefined, concurrent: number, scheduler: typeReference)
|
||||||||||||||||
|
Recursively projects each source value to an Observable which is merged in the output Observable. It's similar to {@link mergeMap}, but applies the projection function to every source value as well as every output value. It's recursive.
Returns an Observable that emits items based on applying a function that you
supply to each item emitted by the source Observable, where that function
returns an Observable, and then merging those resulting Observables and
emitting the results of this merger. Expand will re-emit on the output
Observable every source value. Then, each output value is given to the
Parameters :
Example :
Start emitting the powers of two on every click, at most 10 of them var clicks = Rx.Observable.fromEvent(document, 'click'); var powersOfTwo = clicks .mapTo(1) .expand(x => Rx.Observable.of(2 * x).delay(1000)) .take(10); powersOfTwo.subscribe(x => console.log(x)); |
| extractLeadingText | ||||||||||||
extractLeadingText(string: , completeTag: )
|
||||||||||||
|
Parameters :
|
| splitLinkText | ||||||||
splitLinkText(text: )
|
||||||||
|
Parameters :
|
| extractLeadingText | ||||||||||||
extractLeadingText(string: , completeTag: )
|
||||||||||||
|
Parameters :
|
| splitLinkText | ||||||||
splitLinkText(text: )
|
||||||||
|
Parameters :
|
| filter | ||||||||||||||||
filter(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Parameters :
|
| filter | ||||||||||||||||
filter(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Parameters :
|
| filter | ||||||||||||||||
filter(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Filter items emitted by the source Observable by only emitting those that satisfy a specified predicate. Like Array.prototype.filter(), it only emits a value from the source if it passes a criterion function.
Similar to the well-known
Parameters :
Example :
Emit only click events whose target was a DIV element var clicks = Rx.Observable.fromEvent(document, 'click'); var clicksOnDivs = clicks.filter(ev => ev.target.tagName === 'DIV'); clicksOnDivs.subscribe(x => console.log(x)); |
| filter | ||||||||||||
filter(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Filter items emitted by the source Observable by only emitting those that satisfy a specified predicate. Like Array.prototype.filter(), it only emits a value from the source if it passes a criterion function.
Similar to the well-known
Parameters :
Example :
Emit only click events whose target was a DIV element var clicks = Rx.Observable.fromEvent(document, 'click'); var clicksOnDivs = clicks.filter(ev => ev.target.tagName === 'DIV'); clicksOnDivs.subscribe(x => console.log(x)); |
| filter | ||||||||||||
filter(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Parameters :
|
| filter | ||||||||||||
filter(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Parameters :
|
| filter | ||||||||||||||||
filter(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Parameters :
|
| filter | ||||||||||||||||
filter(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Filter items emitted by the source Observable by only emitting those that satisfy a specified predicate. Like Array.prototype.filter(), it only emits a value from the source if it passes a criterion function.
Similar to the well-known
Parameters :
Example :
Emit only click events whose target was a DIV element var clicks = Rx.Observable.fromEvent(document, 'click'); var clicksOnDivs = clicks.filter(ev => ev.target.tagName === 'DIV'); clicksOnDivs.subscribe(x => console.log(x)); |
| filter | ||||||||||||||||
filter(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Parameters :
|
| filter | ||||||||||||
filter(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Filter items emitted by the source Observable by only emitting those that satisfy a specified predicate. Like Array.prototype.filter(), it only emits a value from the source if it passes a criterion function.
Similar to the well-known
Parameters :
Example :
Emit only click events whose target was a DIV element var clicks = Rx.Observable.fromEvent(document, 'click'); var clicksOnDivs = clicks.filter(ev => ev.target.tagName === 'DIV'); clicksOnDivs.subscribe(x => console.log(x)); |
| filter | ||||||||||||
filter(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Parameters :
|
| filter | ||||||||||||
filter(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Parameters :
|
| finalize | ||||||||
finalize(callback: undefined)
|
||||||||
|
Returns an Observable that mirrors the source Observable, but will call a specified function when the source terminates on complete or error.
Parameters :
|
| finalize | ||||||||
finalize(callback: undefined)
|
||||||||
|
Returns an Observable that mirrors the source Observable, but will call a specified function when the source terminates on complete or error.
Parameters :
|
| find | ||||||||||||
find(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Parameters :
|
| find | ||||||||||||
find(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Parameters :
|
| find | ||||||||||||
find(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Parameters :
|
| find | ||||||||||||
find(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Parameters :
|
| find | ||||||||||||
find(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Emits only the first value emitted by the source Observable that meets some condition. Finds the first value that passes some test and emits that.
Parameters :
Example :
Find and emit the first click that happens on a DIV element var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.find(ev => ev.target.tagName === 'DIV'); result.subscribe(x => console.log(x)); |
| find | ||||||||||||||||
find(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Parameters :
|
| find | ||||||||||||||||
find(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Parameters :
|
| find | ||||||||||||||||
find(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Emits only the first value emitted by the source Observable that meets some condition. Finds the first value that passes some test and emits that.
Parameters :
Example :
Find and emit the first click that happens on a DIV element var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.find(ev => ev.target.tagName === 'DIV'); result.subscribe(x => console.log(x)); |
| find | ||||||||||||||||
find(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Parameters :
|
| find | ||||||||||||||||
find(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Parameters :
|
| find | ||||||||||||||||
find(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Emits only the first value emitted by the source Observable that meets some condition. Finds the first value that passes some test and emits that.
Parameters :
Example :
Find and emit the first click that happens on a DIV element var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.find(ev => ev.target.tagName === 'DIV'); result.subscribe(x => console.log(x)); |
| find | ||||||||||||
find(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Emits only the first value emitted by the source Observable that meets some condition. Finds the first value that passes some test and emits that.
Parameters :
Example :
Find and emit the first click that happens on a DIV element var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.find(ev => ev.target.tagName === 'DIV'); result.subscribe(x => console.log(x)); |
| find | ||||||||||||
find(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Parameters :
|
| find | ||||||||||||
find(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Parameters :
|
| find | ||||||||||||
find(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Parameters :
|
| find | ||||||||||||
find(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Parameters :
|
| findEventTasks |
findEventTasks(target: any, eventName: string)
|
|
|
| patchEventPrototype | ||||||||||||
patchEventPrototype(global: any, api: typeReference)
|
||||||||||||
|
Parameters :
|
| patchEventTarget | ||||||||||||||||
patchEventTarget(_global: any, apis: undefined, patchOptions?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| findEventTasks |
findEventTasks(target: any, eventName: string)
|
|
|
| patchEventPrototype | ||||||||||||
patchEventPrototype(global: any, api: typeReference)
|
||||||||||||
|
Parameters :
|
| patchEventTarget | ||||||||||||||||
patchEventTarget(_global: any, apis: undefined, patchOptions?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| findIndex | ||||||||||||
findIndex(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Emits only the index of the first value emitted by the source Observable that meets some condition. It's like {@link find}, but emits the index of the found value, not the value itself.
Parameters :
Example :
Emit the index of first click that happens on a DIV element var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.findIndex(ev => ev.target.tagName === 'DIV'); result.subscribe(x => console.log(x)); |
| findIndex | ||||||||||||
findIndex(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Emits only the index of the first value emitted by the source Observable that meets some condition. It's like {@link find}, but emits the index of the found value, not the value itself.
Parameters :
Example :
Emit the index of first click that happens on a DIV element var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.findIndex(ev => ev.target.tagName === 'DIV'); result.subscribe(x => console.log(x)); |
| findIndex | ||||||||||||||||
findIndex(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Emits only the index of the first value emitted by the source Observable that meets some condition. It's like {@link find}, but emits the index of the found value, not the value itself.
Parameters :
Example :
Emit the index of first click that happens on a DIV element var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.findIndex(ev => ev.target.tagName === 'DIV'); result.subscribe(x => console.log(x)); |
| findIndex | ||||||||||||||||
findIndex(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Emits only the index of the first value emitted by the source Observable that meets some condition. It's like {@link find}, but emits the index of the found value, not the value itself.
Parameters :
Example :
Emit the index of first click that happens on a DIV element var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.findIndex(ev => ev.target.tagName === 'DIV'); result.subscribe(x => console.log(x)); |
| first | ||||||||||||||||||||
first(this: typeReference, predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| first | ||||||||||||||||||||
first(this: typeReference, predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| first | ||||||||||||
first(this: typeReference, predicate?: undefined)
|
||||||||||||
|
Parameters :
|
| first | ||||||||||||||||||||
first(this: typeReference, predicate: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| first | ||||||||||||||||||||
first(this: typeReference, predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| first | ||||||||||||||||||||
first(this: typeReference, predicate?: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Emits only the first value (or the first value that meets some condition) emitted by the source Observable. Emits only the first value. Or emits only the first value that passes some test.
If called with no arguments,
Parameters :
Example :
Emit only the first click that happens on the DOM var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.first(); result.subscribe(x => console.log(x)); Emits the first click that happens on a DIV var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.first(ev => ev.target.tagName === 'DIV'); result.subscribe(x => console.log(x)); |
| first | ||||||||||||
first(this: typeReference, predicate: undefined)
|
||||||||||||
|
Parameters :
|
| first | ||||||||||||||||
first(predicate: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| first | ||||||||||||||||
first(predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| first | ||||||||||||||||
first(predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| first | ||||||||||||||||
first(predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| first | ||||||||||||||||
first(predicate?: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Emits only the first value (or the first value that meets some condition) emitted by the source Observable. Emits only the first value. Or emits only the first value that passes some test.
If called with no arguments,
Parameters :
Example :
Emit only the first click that happens on the DOM var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.first(); result.subscribe(x => console.log(x)); Emits the first click that happens on a DIV var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.first(ev => ev.target.tagName === 'DIV'); result.subscribe(x => console.log(x)); |
| first | ||||||||
first(predicate: undefined)
|
||||||||
|
Parameters :
|
| first | ||||||||
first(predicate?: undefined)
|
||||||||
|
Parameters :
|
| first | ||||||||||||||||
first(predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| first | ||||||||
first(predicate?: undefined)
|
||||||||
|
Parameters :
|
| first | ||||||||||||||||
first(predicate: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| first | ||||||||||||||||
first(predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| first | ||||||||||||||||
first(predicate?: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Emits only the first value (or the first value that meets some condition) emitted by the source Observable. Emits only the first value. Or emits only the first value that passes some test.
If called with no arguments,
Parameters :
Example :
Emit only the first click that happens on the DOM var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.first(); result.subscribe(x => console.log(x)); Emits the first click that happens on a DIV var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.first(ev => ev.target.tagName === 'DIV'); result.subscribe(x => console.log(x)); |
| first | ||||||||
first(predicate: undefined)
|
||||||||
|
Parameters :
|
| first | ||||||||||||||||
first(predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| first | ||||||||||||||||||||
first(this: typeReference, predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| first | ||||||||||||||||||||
first(this: typeReference, predicate?: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Emits only the first value (or the first value that meets some condition) emitted by the source Observable. Emits only the first value. Or emits only the first value that passes some test.
If called with no arguments,
Parameters :
Example :
Emit only the first click that happens on the DOM var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.first(); result.subscribe(x => console.log(x)); Emits the first click that happens on a DIV var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.first(ev => ev.target.tagName === 'DIV'); result.subscribe(x => console.log(x)); |
| first | ||||||||||||
first(this: typeReference, predicate: undefined)
|
||||||||||||
|
Parameters :
|
| first | ||||||||||||||||||||
first(this: typeReference, predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| first | ||||||||||||||||||||
first(this: typeReference, predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| first | ||||||||||||
first(this: typeReference, predicate?: undefined)
|
||||||||||||
|
Parameters :
|
| first | ||||||||||||||||||||
first(this: typeReference, predicate: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| flattenUnsubscriptionErrors | ||||||||
flattenUnsubscriptionErrors(errors: undefined)
|
||||||||
|
Parameters :
|
| flattenUnsubscriptionErrors | ||||||||
flattenUnsubscriptionErrors(errors: undefined)
|
||||||||
|
Parameters :
|
| getIndentationText |
getIndentationText(useTabs: boolean, numberSpaces: number)
|
|
|
| getIndentationText |
getIndentationText(useTabs: boolean, numberSpaces: number)
|
|
|
| getIterator | ||||||||
getIterator(obj: any)
|
||||||||
|
Parameters :
|
| numberIsFinite | ||||||||
numberIsFinite(value: any)
|
||||||||
|
Parameters :
|
| sign | ||||||||
sign(value: any)
|
||||||||
|
Parameters :
|
| toLength | ||||||||
toLength(o: any)
|
||||||||
|
Parameters :
|
| getIterator | ||||||||
getIterator(obj: any)
|
||||||||
|
Parameters :
|
| numberIsFinite | ||||||||
numberIsFinite(value: any)
|
||||||||
|
Parameters :
|
| sign | ||||||||
sign(value: any)
|
||||||||
|
Parameters :
|
| toLength | ||||||||
toLength(o: any)
|
||||||||
|
Parameters :
|
| getSymbolObservable | ||||||||
getSymbolObservable(context: any)
|
||||||||
|
Parameters :
|
| getSymbolObservable | ||||||||
getSymbolObservable(context: any)
|
||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||||||
groupBy(keySelector: undefined, elementSelector?: undefined, durationSelector?: undefined, subjectSelector?: undefined)
|
||||||||||||||||||||
|
Groups the items emitted by an Observable according to a specified criterion,
and emits these grouped items as
Parameters :
Example :
Group objects by id and return as array
Observable.of // displays: // [ { id: 1, name: 'aze1' }, // { id: 1, name: 'erg1' }, // { id: 1, name: 'df1' } ] // // [ { id: 2, name: 'sf2' }, // { id: 2, name: 'dg2' }, // { id: 2, name: 'sfqfb2' }, // { id: 2, name: 'qsgqsfg2' } ] // // [ { id: 3, name: 'qfs3' } ] Pivot data on the id field
Observable.of // displays: // { id: 1, values: [ 'aze1', 'erg1', 'df1' ] } // { id: 2, values: [ 'sf2', 'dg2', 'sfqfb2', 'qsgqsfg2' ] } // { id: 3, values: [ 'qfs1' ] } |
| groupBy | ||||||||||||||||
groupBy(keySelector: undefined, elementSelector?: undefined, durationSelector?: undefined)
|
||||||||||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||
groupBy(keySelector: undefined, elementSelector: undefined, durationSelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||||||
groupBy(keySelector: undefined, elementSelector?: undefined, durationSelector?: undefined, subjectSelector?: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| groupBy | ||||||||
groupBy(keySelector: undefined)
|
||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||||||
groupBy(keySelector: undefined, elementSelector?: undefined, durationSelector?: undefined, subjectSelector?: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| groupBy | ||||||||
groupBy(keySelector: undefined)
|
||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||
groupBy(keySelector: undefined, elementSelector?: undefined, durationSelector?: undefined)
|
||||||||||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||
groupBy(keySelector: undefined, elementSelector: undefined, durationSelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||||||
groupBy(keySelector: undefined, elementSelector?: undefined, durationSelector?: undefined, subjectSelector?: undefined)
|
||||||||||||||||||||
|
Groups the items emitted by an Observable according to a specified criterion,
and emits these grouped items as
Parameters :
Example :
Group objects by id and return as array
Observable.of // displays: // [ { id: 1, name: 'aze1' }, // { id: 1, name: 'erg1' }, // { id: 1, name: 'df1' } ] // // [ { id: 2, name: 'sf2' }, // { id: 2, name: 'dg2' }, // { id: 2, name: 'sfqfb2' }, // { id: 2, name: 'qsgqsfg2' } ] // // [ { id: 3, name: 'qfs3' } ] Pivot data on the id field
Observable.of // displays: // { id: 1, values: [ 'aze1', 'erg1', 'df1' ] } // { id: 2, values: [ 'sf2', 'dg2', 'sfqfb2', 'qsgqsfg2' ] } // { id: 3, values: [ 'qfs1' ] } |
| groupBy | ||||||||||||||||||||
groupBy(this: typeReference, keySelector: undefined, elementSelector: undefined, durationSelector: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||||||
groupBy(this: typeReference, keySelector: undefined, elementSelector?: undefined, durationSelector?: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||||||||||
groupBy(this: typeReference, keySelector: undefined, elementSelector?: undefined, durationSelector?: undefined, subjectSelector?: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||||||||||
groupBy(this: typeReference, keySelector: undefined, elementSelector?: undefined, durationSelector?: undefined, subjectSelector?: undefined)
|
||||||||||||||||||||||||
|
Groups the items emitted by an Observable according to a specified criterion,
and emits these grouped items as
Parameters :
Example :
Group objects by id and return as array
Observable.of // displays: // [ { id: 1, name: 'aze1' }, // { id: 1, name: 'erg1' }, // { id: 1, name: 'df1' } ] // // [ { id: 2, name: 'sf2' }, // { id: 2, name: 'dg2' }, // { id: 2, name: 'sfqfb2' }, // { id: 2, name: 'qsgqsfg2' } ] // // [ { id: 3, name: 'qfs3' } ] Pivot data on the id field
Observable.of // displays: // { id: 1, values: [ 'aze1', 'erg1', 'df1' ] } // { id: 2, values: [ 'sf2', 'dg2', 'sfqfb2', 'qsgqsfg2' ] } // { id: 3, values: [ 'qfs1' ] } |
| groupBy | ||||||||||||
groupBy(this: typeReference, keySelector: undefined)
|
||||||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||||||||||
groupBy(this: typeReference, keySelector: undefined, elementSelector?: undefined, durationSelector?: undefined, subjectSelector?: undefined)
|
||||||||||||||||||||||||
|
Groups the items emitted by an Observable according to a specified criterion,
and emits these grouped items as
Parameters :
Example :
Group objects by id and return as array
Observable.of // displays: // [ { id: 1, name: 'aze1' }, // { id: 1, name: 'erg1' }, // { id: 1, name: 'df1' } ] // // [ { id: 2, name: 'sf2' }, // { id: 2, name: 'dg2' }, // { id: 2, name: 'sfqfb2' }, // { id: 2, name: 'qsgqsfg2' } ] // // [ { id: 3, name: 'qfs3' } ] Pivot data on the id field
Observable.of // displays: // { id: 1, values: [ 'aze1', 'erg1', 'df1' ] } // { id: 2, values: [ 'sf2', 'dg2', 'sfqfb2', 'qsgqsfg2' ] } // { id: 3, values: [ 'qfs1' ] } |
| groupBy | ||||||||||||||||||||||||
groupBy(this: typeReference, keySelector: undefined, elementSelector?: undefined, durationSelector?: undefined, subjectSelector?: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||||||
groupBy(this: typeReference, keySelector: undefined, elementSelector?: undefined, durationSelector?: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| groupBy | ||||||||||||||||||||
groupBy(this: typeReference, keySelector: undefined, elementSelector: undefined, durationSelector: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| groupBy | ||||||||||||
groupBy(this: typeReference, keySelector: undefined)
|
||||||||||||
|
Parameters :
|
| identity | ||||||||
identity(x: typeReference)
|
||||||||
|
Parameters :
|
| identity | ||||||||
identity(x: typeReference)
|
||||||||
|
Parameters :
|
| ignoreElements | ||||||||
ignoreElements(this: typeReference)
|
||||||||
|
Ignores all items emitted by the source Observable and only passes calls of
Parameters :
|
| ignoreElements | ||||||||
ignoreElements(this: typeReference)
|
||||||||
|
Ignores all items emitted by the source Observable and only passes calls of
Parameters :
|
| ignoreElements |
ignoreElements()
|
| ignoreElements |
ignoreElements()
|
| isDate | ||||||||
isDate(value: any)
|
||||||||
|
Parameters :
|
| isDate | ||||||||
isDate(value: any)
|
||||||||
|
Parameters :
|
| isEmpty |
isEmpty()
|
| isEmpty | ||||||||
isEmpty(this: typeReference)
|
||||||||
|
If the source Observable is empty it returns an Observable that emits true, otherwise it emits false.
Parameters :
|
| isEmpty |
isEmpty()
|
| isEmpty | ||||||||
isEmpty(this: typeReference)
|
||||||||
|
If the source Observable is empty it returns an Observable that emits true, otherwise it emits false.
Parameters :
|
| isEventTarget | ||||||||
isEventTarget(sourceObj: any)
|
||||||||
|
Parameters :
|
| isHTMLCollection | ||||||||
isHTMLCollection(sourceObj: any)
|
||||||||
|
Parameters :
|
| isJQueryStyleEventEmitter | ||||||||
isJQueryStyleEventEmitter(sourceObj: any)
|
||||||||
|
Parameters :
|
| isNodeList | ||||||||
isNodeList(sourceObj: any)
|
||||||||
|
Parameters :
|
| isNodeStyleEventEmitter | ||||||||
isNodeStyleEventEmitter(sourceObj: any)
|
||||||||
|
Parameters :
|
| isEventTarget | ||||||||
isEventTarget(sourceObj: any)
|
||||||||
|
Parameters :
|
| isHTMLCollection | ||||||||
isHTMLCollection(sourceObj: any)
|
||||||||
|
Parameters :
|
| isJQueryStyleEventEmitter | ||||||||
isJQueryStyleEventEmitter(sourceObj: any)
|
||||||||
|
Parameters :
|
| isNodeList | ||||||||
isNodeList(sourceObj: any)
|
||||||||
|
Parameters :
|
| isNodeStyleEventEmitter | ||||||||
isNodeStyleEventEmitter(sourceObj: any)
|
||||||||
|
Parameters :
|
| isFunction | ||||||||
isFunction(x: any)
|
||||||||
|
Parameters :
|
| isFunction | ||||||||
isFunction(x: any)
|
||||||||
|
Parameters :
|
| isGlobal |
isGlobal()
|
| isGlobal |
isGlobal()
|
| isNumeric | ||||||||
isNumeric(val: any)
|
||||||||
|
Parameters :
|
| isNumeric | ||||||||
isNumeric(val: any)
|
||||||||
|
Parameters :
|
| isObject | ||||||||
isObject(x: any)
|
||||||||
|
Parameters :
|
| isObject | ||||||||
isObject(x: any)
|
||||||||
|
Parameters :
|
| isPromise | ||||||||
isPromise(value: undefined)
|
||||||||
|
Parameters :
|
| isPromise | ||||||||
isPromise(value: undefined)
|
||||||||
|
Parameters :
|
| isScheduler | ||||||||
isScheduler(value: any)
|
||||||||
|
Parameters :
|
| isScheduler | ||||||||
isScheduler(value: any)
|
||||||||
|
Parameters :
|
| kindToType | ||||||||
kindToType(kind: number)
|
||||||||
|
Parameters :
|
| kindToType | ||||||||
kindToType(kind: number)
|
||||||||
|
Parameters :
|
| last | ||||||||||||||||||||
last(this: typeReference, predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| last | ||||||||||||
last(this: typeReference, predicate: undefined)
|
||||||||||||
|
Parameters :
|
| last | ||||||||||||||||||||
last(this: typeReference, predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| last | ||||||||||||||||||||
last(this: typeReference, predicate?: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Returns an Observable that emits only the last item emitted by the source Observable. It optionally takes a predicate function as a parameter, in which case, rather than emitting the last item from the source Observable, the resulting Observable will emit the last item from the source Observable that satisfies the predicate.
Parameters :
|
| last | ||||||||||||||||||||
last(this: typeReference, predicate: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| last | ||||||||||||
last(this: typeReference, predicate?: undefined)
|
||||||||||||
|
Parameters :
|
| last | ||||||||||||||||||||
last(this: typeReference, predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| last | ||||||||
last(predicate: undefined)
|
||||||||
|
Parameters :
|
| last | ||||||||||||||||
last(predicate?: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Returns an Observable that emits only the last item emitted by the source Observable. It optionally takes a predicate function as a parameter, in which case, rather than emitting the last item from the source Observable, the resulting Observable will emit the last item from the source Observable that satisfies the predicate.
Parameters :
|
| last | ||||||||||||||||
last(predicate: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| last | ||||||||||||||||
last(predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| last | ||||||||||||||||
last(predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| last | ||||||||
last(predicate?: undefined)
|
||||||||
|
Parameters :
|
| last | ||||||||||||||||
last(predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| last | ||||||||||||||||
last(predicate?: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Returns an Observable that emits only the last item emitted by the source Observable. It optionally takes a predicate function as a parameter, in which case, rather than emitting the last item from the source Observable, the resulting Observable will emit the last item from the source Observable that satisfies the predicate.
Parameters :
|
| last | ||||||||||||||||
last(predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| last | ||||||||||||||||
last(predicate: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| last | ||||||||
last(predicate?: undefined)
|
||||||||
|
Parameters :
|
| last | ||||||||||||||||
last(predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| last | ||||||||||||||||
last(predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| last | ||||||||
last(predicate: undefined)
|
||||||||
|
Parameters :
|
| last | ||||||||||||||||||||
last(this: typeReference, predicate?: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Returns an Observable that emits only the last item emitted by the source Observable. It optionally takes a predicate function as a parameter, in which case, rather than emitting the last item from the source Observable, the resulting Observable will emit the last item from the source Observable that satisfies the predicate.
Parameters :
|
| last | ||||||||||||||||||||
last(this: typeReference, predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| last | ||||||||||||||||||||
last(this: typeReference, predicate: undefined, resultSelector?: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| last | ||||||||||||
last(this: typeReference, predicate?: undefined)
|
||||||||||||
|
Parameters :
|
| last | ||||||||||||||||||||
last(this: typeReference, predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| last | ||||||||||||||||||||
last(this: typeReference, predicate: undefined, resultSelector: undefined, defaultValue?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| last | ||||||||||||
last(this: typeReference, predicate: undefined)
|
||||||||||||
|
Parameters :
|
| letProto | ||||||||||||
letProto(this: typeReference, func: undefined)
|
||||||||||||
|
Parameters :
|
| letProto | ||||||||||||
letProto(this: typeReference, func: undefined)
|
||||||||||||
|
Parameters :
|
| map | ||||||||||||||||
map(this: typeReference, project: undefined, thisArg?: any)
|
||||||||||||||||
|
Applies a given Like Array.prototype.map(), it passes each source value through a transformation function to get corresponding output values.
Similar to the well known
Parameters :
Example :
Map every click to the clientX position of that click var clicks = Rx.Observable.fromEvent(document, 'click'); var positions = clicks.map(ev => ev.clientX); positions.subscribe(x => console.log(x)); |
| map | ||||||||||||
map(project: undefined, thisArg?: any)
|
||||||||||||
|
Applies a given Like Array.prototype.map(), it passes each source value through a transformation function to get corresponding output values.
Similar to the well known
Parameters :
Example :
Map every click to the clientX position of that click var clicks = Rx.Observable.fromEvent(document, 'click'); var positions = clicks.map(ev => ev.clientX); positions.subscribe(x => console.log(x)); |
| map | ||||||||||||||||
map(this: typeReference, project: undefined, thisArg?: any)
|
||||||||||||||||
|
Applies a given Like Array.prototype.map(), it passes each source value through a transformation function to get corresponding output values.
Similar to the well known
Parameters :
Example :
Map every click to the clientX position of that click var clicks = Rx.Observable.fromEvent(document, 'click'); var positions = clicks.map(ev => ev.clientX); positions.subscribe(x => console.log(x)); |
| map | ||||||||||||
map(project: undefined, thisArg?: any)
|
||||||||||||
|
Applies a given Like Array.prototype.map(), it passes each source value through a transformation function to get corresponding output values.
Similar to the well known
Parameters :
Example :
Map every click to the clientX position of that click var clicks = Rx.Observable.fromEvent(document, 'click'); var positions = clicks.map(ev => ev.clientX); positions.subscribe(x => console.log(x)); |
| mapTo | ||||||||
mapTo(value: typeReference)
|
||||||||
|
Emits the given constant value on the output Observable every time the source Observable emits a value. Like {@link map}, but it maps every source value to the same output value every time.
Takes a constant
Parameters :
Example :
Map every click to the string 'Hi' var clicks = Rx.Observable.fromEvent(document, 'click'); var greetings = clicks.mapTo('Hi'); greetings.subscribe(x => console.log(x)); |
| mapTo | ||||||||||||
mapTo(this: typeReference, value: typeReference)
|
||||||||||||
|
Emits the given constant value on the output Observable every time the source Observable emits a value. Like {@link map}, but it maps every source value to the same output value every time.
Takes a constant
Parameters :
Example :
Map every click to the string 'Hi' var clicks = Rx.Observable.fromEvent(document, 'click'); var greetings = clicks.mapTo('Hi'); greetings.subscribe(x => console.log(x)); |
| mapTo | ||||||||
mapTo(value: typeReference)
|
||||||||
|
Emits the given constant value on the output Observable every time the source Observable emits a value. Like {@link map}, but it maps every source value to the same output value every time.
Takes a constant
Parameters :
Example :
Map every click to the string 'Hi' var clicks = Rx.Observable.fromEvent(document, 'click'); var greetings = clicks.mapTo('Hi'); greetings.subscribe(x => console.log(x)); |
| mapTo | ||||||||||||
mapTo(this: typeReference, value: typeReference)
|
||||||||||||
|
Emits the given constant value on the output Observable every time the source Observable emits a value. Like {@link map}, but it maps every source value to the same output value every time.
Takes a constant
Parameters :
Example :
Map every click to the string 'Hi' var clicks = Rx.Observable.fromEvent(document, 'click'); var greetings = clicks.mapTo('Hi'); greetings.subscribe(x => console.log(x)); |
| materialize |
materialize()
|
|
Represents all of the notifications from the source Observable as Wraps
This operator is useful for producing metadata of the source Observable, to
be consumed as
Example :
Convert a faulty Observable to an Observable of Notifications var letters = Rx.Observable.of('a', 'b', 13, 'd'); var upperCase = letters.map(x => x.toUpperCase()); var materialized = upperCase.materialize(); materialized.subscribe(x => console.log(x)); // Results in the following: // - Notification {kind: "N", value: "A", error: undefined, hasValue: true} // - Notification {kind: "N", value: "B", error: undefined, hasValue: true} // - Notification {kind: "E", value: undefined, error: TypeError: // x.toUpperCase is not a function at MapSubscriber.letters.map.x // [as project] (http://1…, hasValue: false} |
| materialize |
materialize()
|
|
Represents all of the notifications from the source Observable as Wraps
This operator is useful for producing metadata of the source Observable, to
be consumed as
Example :
Convert a faulty Observable to an Observable of Notifications var letters = Rx.Observable.of('a', 'b', 13, 'd'); var upperCase = letters.map(x => x.toUpperCase()); var materialized = upperCase.materialize(); materialized.subscribe(x => console.log(x)); // Results in the following: // - Notification {kind: "N", value: "A", error: undefined, hasValue: true} // - Notification {kind: "N", value: "B", error: undefined, hasValue: true} // - Notification {kind: "E", value: undefined, error: TypeError: // x.toUpperCase is not a function at MapSubscriber.letters.map.x // [as project] (http://1…, hasValue: false} |
| materialize | ||||||||
materialize(this: typeReference)
|
||||||||
|
Represents all of the notifications from the source Observable as Wraps
This operator is useful for producing metadata of the source Observable, to
be consumed as
Parameters :
Example :
Convert a faulty Observable to an Observable of Notifications var letters = Rx.Observable.of('a', 'b', 13, 'd'); var upperCase = letters.map(x => x.toUpperCase()); var materialized = upperCase.materialize(); materialized.subscribe(x => console.log(x)); // Results in the following: // - Notification {kind: "N", value: "A", error: undefined, hasValue: true} // - Notification {kind: "N", value: "B", error: undefined, hasValue: true} // - Notification {kind: "E", value: undefined, error: TypeError: // x.toUpperCase is not a function at MapSubscriber.letters.map.x // [as project] (http://1…, hasValue: false} |
| materialize | ||||||||
materialize(this: typeReference)
|
||||||||
|
Represents all of the notifications from the source Observable as Wraps
This operator is useful for producing metadata of the source Observable, to
be consumed as
Parameters :
Example :
Convert a faulty Observable to an Observable of Notifications var letters = Rx.Observable.of('a', 'b', 13, 'd'); var upperCase = letters.map(x => x.toUpperCase()); var materialized = upperCase.materialize(); materialized.subscribe(x => console.log(x)); // Results in the following: // - Notification {kind: "N", value: "A", error: undefined, hasValue: true} // - Notification {kind: "N", value: "B", error: undefined, hasValue: true} // - Notification {kind: "E", value: undefined, error: TypeError: // x.toUpperCase is not a function at MapSubscriber.letters.map.x // [as project] (http://1…, hasValue: false} |
| max | ||||||||
max(comparer?: undefined)
|
||||||||
|
The Max operator operates on an Observable that emits numbers (or items that can be compared with a provided function), and when source Observable completes it emits a single item: the item with the largest value.
Parameters :
Example :
Get the maximal value of a series of numbers Rx.Observable.of(5, 4, 7, 2, 8) .max() .subscribe(x => console.log(x)); // -> 8 Use a comparer function to get the maximal item
interface Person {
age: number,
name: string
}
Observable.of |
| max | ||||||||||||
max(this: typeReference, comparer?: undefined)
|
||||||||||||
|
The Max operator operates on an Observable that emits numbers (or items that can be compared with a provided function), and when source Observable completes it emits a single item: the item with the largest value.
Parameters :
Example :
Get the maximal value of a series of numbers Rx.Observable.of(5, 4, 7, 2, 8) .max() .subscribe(x => console.log(x)); // -> 8 Use a comparer function to get the maximal item
interface Person {
age: number,
name: string
}
Observable.of |
| max | ||||||||
max(comparer?: undefined)
|
||||||||
|
The Max operator operates on an Observable that emits numbers (or items that can be compared with a provided function), and when source Observable completes it emits a single item: the item with the largest value.
Parameters :
Example :
Get the maximal value of a series of numbers Rx.Observable.of(5, 4, 7, 2, 8) .max() .subscribe(x => console.log(x)); // -> 8 Use a comparer function to get the maximal item
interface Person {
age: number,
name: string
}
Observable.of |
| max | ||||||||||||
max(this: typeReference, comparer?: undefined)
|
||||||||||||
|
The Max operator operates on an Observable that emits numbers (or items that can be compared with a provided function), and when source Observable completes it emits a single item: the item with the largest value.
Parameters :
Example :
Get the maximal value of a series of numbers Rx.Observable.of(5, 4, 7, 2, 8) .max() .subscribe(x => console.log(x)); // -> 8 Use a comparer function to get the maximal item
interface Person {
age: number,
name: string
}
Observable.of |
| merge | ||||||||
merge(observables: typeReference)
|
||||||||
|
Creates an output Observable which concurrently emits all values from every given input Observable. Flattens multiple Observables together by blending their values into one Observable.
Parameters :
Example :
Merge together two Observables: 1s interval and clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var timer = Rx.Observable.interval(1000); var clicksOrTimer = Rx.Observable.merge(clicks, timer); clicksOrTimer.subscribe(x => console.log(x)); // Results in the following: // timer will emit ascending values, one every second(1000ms) to console // clicks logs MouseEvents to console everytime the "document" is clicked // Since the two streams are merged you see these happening // as they occur. Merge together 3 Observables, but only 2 run concurrently var timer1 = Rx.Observable.interval(1000).take(10); var timer2 = Rx.Observable.interval(2000).take(6); var timer3 = Rx.Observable.interval(500).take(10); var concurrent = 2; // the argument var merged = Rx.Observable.merge(timer1, timer2, timer3, concurrent); merged.subscribe(x => console.log(x)); // Results in the following: // - First timer1 and timer2 will run concurrently // - timer1 will emit a value every 1000ms for 10 iterations // - timer2 will emit a value every 2000ms for 6 iterations // - after timer1 hits it's max iteration, timer2 will // continue, and timer3 will start to run concurrently with timer2 // - when timer2 hits it's max iteration it terminates, and // timer3 will continue to emit a value every 500ms until it is complete |
| merge | ||||||||
merge(...observables: undefined)
|
||||||||
|
Parameters :
|
| merge | ||||||||
merge(...observables: undefined)
|
||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||
merge(v1: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||
merge(v1: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||
merge(v1: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||
merge(concurrent?: number, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||
merge(v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||
merge(observables: typeReference)
|
||||||||
|
Parameters :
|
| merge | ||||||||
merge(scheduler?: typeReference)
|
||||||||
|
Parameters :
|
| merge | ||||||||||||||||
merge(v2: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, v4: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||
merge(observables: typeReference)
|
||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||
merge(v2: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| merge | ||||||||
merge(observables: typeReference)
|
||||||||
|
Creates an output Observable which concurrently emits all values from every given input Observable. Flattens multiple Observables together by blending their values into one Observable.
Parameters :
Example :
Merge together two Observables: 1s interval and clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var timer = Rx.Observable.interval(1000); var clicksOrTimer = clicks.merge(timer); clicksOrTimer.subscribe(x => console.log(x)); Merge together 3 Observables, but only 2 run concurrently var timer1 = Rx.Observable.interval(1000).take(10); var timer2 = Rx.Observable.interval(2000).take(6); var timer3 = Rx.Observable.interval(500).take(10); var concurrent = 2; // the argument var merged = timer1.merge(timer2, timer3, concurrent); merged.subscribe(x => console.log(x)); |
| merge | ||||||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||
merge(...observables: undefined)
|
||||||||
|
Parameters :
|
| merge | ||||||||
merge(...observables: undefined)
|
||||||||
|
Parameters :
|
| merge | ||||||||
merge(observables: typeReference)
|
||||||||
|
Creates an output Observable which concurrently emits all values from every given input Observable. Flattens multiple Observables together by blending their values into one Observable.
Parameters :
Example :
Merge together two Observables: 1s interval and clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var timer = Rx.Observable.interval(1000); var clicksOrTimer = Rx.Observable.merge(clicks, timer); clicksOrTimer.subscribe(x => console.log(x)); // Results in the following: // timer will emit ascending values, one every second(1000ms) to console // clicks logs MouseEvents to console everytime the "document" is clicked // Since the two streams are merged you see these happening // as they occur. Merge together 3 Observables, but only 2 run concurrently var timer1 = Rx.Observable.interval(1000).take(10); var timer2 = Rx.Observable.interval(2000).take(6); var timer3 = Rx.Observable.interval(500).take(10); var concurrent = 2; // the argument var merged = Rx.Observable.merge(timer1, timer2, timer3, concurrent); merged.subscribe(x => console.log(x)); // Results in the following: // - First timer1 and timer2 will run concurrently // - timer1 will emit a value every 1000ms for 10 iterations // - timer2 will emit a value every 2000ms for 6 iterations // - after timer1 hits it's max iteration, timer2 will // continue, and timer3 will start to run concurrently with timer2 // - when timer2 hits it's max iteration it terminates, and // timer3 will continue to emit a value every 500ms until it is complete |
| merge | ||||||||||||
merge(v1: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||
merge(v1: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||
merge(v1: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||
merge(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||
merge(this: typeReference, observables: typeReference)
|
||||||||||||
|
Creates an output Observable which concurrently emits all values from every given input Observable. Flattens multiple Observables together by blending their values into one Observable.
Parameters :
Example :
Merge together two Observables: 1s interval and clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var timer = Rx.Observable.interval(1000); var clicksOrTimer = clicks.merge(timer); clicksOrTimer.subscribe(x => console.log(x)); Merge together 3 Observables, but only 2 run concurrently var timer1 = Rx.Observable.interval(1000).take(10); var timer2 = Rx.Observable.interval(2000).take(6); var timer3 = Rx.Observable.interval(500).take(10); var concurrent = 2; // the argument var merged = timer1.merge(timer2, timer3, concurrent); merged.subscribe(x => console.log(x)); |
| merge | ||||||||||||
merge(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| merge | ||||||||||||
merge(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||
merge(this: typeReference, v2: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||
merge(this: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||
merge(this: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||
merge(this: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| merge | ||||||||
merge(observables: typeReference)
|
||||||||
|
Creates an output Observable which concurrently emits all values from every given input Observable. Flattens multiple Observables together by blending their values into one Observable.
Parameters :
Example :
Merge together two Observables: 1s interval and clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var timer = Rx.Observable.interval(1000); var clicksOrTimer = clicks.merge(timer); clicksOrTimer.subscribe(x => console.log(x)); Merge together 3 Observables, but only 2 run concurrently var timer1 = Rx.Observable.interval(1000).take(10); var timer2 = Rx.Observable.interval(2000).take(6); var timer3 = Rx.Observable.interval(500).take(10); var concurrent = 2; // the argument var merged = timer1.merge(timer2, timer3, concurrent); merged.subscribe(x => console.log(x)); |
| merge | ||||||||
merge(observables: typeReference)
|
||||||||
|
Parameters :
|
| merge | ||||||||
merge(observables: typeReference)
|
||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, v4: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||
merge(v2: typeReference, v3: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||
merge(v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||
merge(v2: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||
merge(v2: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| merge | ||||||||||||
merge(concurrent?: number, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| merge | ||||||||
merge(scheduler?: typeReference)
|
||||||||
|
Parameters :
|
| merge | ||||||||||||
merge(this: typeReference, observables: typeReference)
|
||||||||||||
|
Creates an output Observable which concurrently emits all values from every given input Observable. Flattens multiple Observables together by blending their values into one Observable.
Parameters :
Example :
Merge together two Observables: 1s interval and clicks var clicks = Rx.Observable.fromEvent(document, 'click'); var timer = Rx.Observable.interval(1000); var clicksOrTimer = clicks.merge(timer); clicksOrTimer.subscribe(x => console.log(x)); Merge together 3 Observables, but only 2 run concurrently var timer1 = Rx.Observable.interval(1000).take(10); var timer2 = Rx.Observable.interval(2000).take(6); var timer3 = Rx.Observable.interval(500).take(10); var concurrent = 2; // the argument var merged = timer1.merge(timer2, timer3, concurrent); merged.subscribe(x => console.log(x)); |
| merge | ||||||||||||
merge(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| merge | ||||||||||||
merge(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||
merge(this: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||||||
merge(this: typeReference, v2: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||
merge(this: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||||||
merge(this: typeReference, concurrent?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| merge | ||||||||||||
merge(this: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| mergeAll | ||||||||||||
mergeAll(this: typeReference, concurrent?: number)
|
||||||||||||
|
Parameters :
|
| mergeAll | ||||||||||||
mergeAll(this: typeReference, concurrent: number)
|
||||||||||||
|
Converts a higher-order Observable into a first-order Observable which concurrently delivers all values that are emitted on the inner Observables. Flattens an Observable-of-Observables.
Parameters :
Example :
Spawn a new interval Observable for each click event, and blend their outputs as one Observable var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000)); var firstOrder = higherOrder.mergeAll(); firstOrder.subscribe(x => console.log(x)); Count from 0 to 9 every second for each click, but only allow 2 concurrent timers var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(10)); var firstOrder = higherOrder.mergeAll(2); firstOrder.subscribe(x => console.log(x)); |
| mergeAll | ||||||||||||
mergeAll(this: typeReference, concurrent?: number)
|
||||||||||||
|
Parameters :
|
| mergeAll | ||||||||||||
mergeAll(this: typeReference, concurrent?: number)
|
||||||||||||
|
Parameters :
|
| mergeAll | ||||||||||||
mergeAll(this: typeReference, concurrent: number)
|
||||||||||||
|
Converts a higher-order Observable into a first-order Observable which concurrently delivers all values that are emitted on the inner Observables. Flattens an Observable-of-Observables.
Parameters :
Example :
Spawn a new interval Observable for each click event, and blend their outputs as one Observable var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000)); var firstOrder = higherOrder.mergeAll(); firstOrder.subscribe(x => console.log(x)); Count from 0 to 9 every second for each click, but only allow 2 concurrent timers var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(10)); var firstOrder = higherOrder.mergeAll(2); firstOrder.subscribe(x => console.log(x)); |
| mergeAll | ||||||||||||
mergeAll(this: typeReference, concurrent?: number)
|
||||||||||||
|
Parameters :
|
| mergeAll | ||||||||
mergeAll(concurrent: number)
|
||||||||
|
Converts a higher-order Observable into a first-order Observable which concurrently delivers all values that are emitted on the inner Observables. Flattens an Observable-of-Observables.
Parameters :
Example :
Spawn a new interval Observable for each click event, and blend their outputs as one Observable var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000)); var firstOrder = higherOrder.mergeAll(); firstOrder.subscribe(x => console.log(x)); Count from 0 to 9 every second for each click, but only allow 2 concurrent timers var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(10)); var firstOrder = higherOrder.mergeAll(2); firstOrder.subscribe(x => console.log(x)); |
| mergeAll | ||||||||
mergeAll(concurrent: number)
|
||||||||
|
Converts a higher-order Observable into a first-order Observable which concurrently delivers all values that are emitted on the inner Observables. Flattens an Observable-of-Observables.
Parameters :
Example :
Spawn a new interval Observable for each click event, and blend their outputs as one Observable var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000)); var firstOrder = higherOrder.mergeAll(); firstOrder.subscribe(x => console.log(x)); Count from 0 to 9 every second for each click, but only allow 2 concurrent timers var clicks = Rx.Observable.fromEvent(document, 'click'); var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(10)); var firstOrder = higherOrder.mergeAll(2); firstOrder.subscribe(x => console.log(x)); |
| mergeMap | ||||||||||||||||
mergeMap(project: undefined, resultSelector: undefined, concurrent?: number)
|
||||||||||||||||
|
Parameters :
|
| mergeMap | ||||||||||||
mergeMap(project: undefined, concurrent?: number)
|
||||||||||||
|
Parameters :
|
| mergeMap | ||||||||||||||||
mergeMap(project: undefined, resultSelector?: undefined, concurrent: number)
|
||||||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable. Maps each value to an Observable, then flattens all of these inner Observables using {@link mergeAll}.
Returns an Observable that emits items based on applying a function that you supply to each item emitted by the source Observable, where that function returns an Observable, and then merging those resulting Observables and emitting the results of this merger.
Parameters :
Example :
Map and flatten each letter to an Observable ticking every 1 second var letters = Rx.Observable.of('a', 'b', 'c'); var result = letters.mergeMap(x => Rx.Observable.interval(1000).map(i => x+i) ); result.subscribe(x => console.log(x)); // Results in the following: // a0 // b0 // c0 // a1 // b1 // c1 // continues to list a,b,c with respective ascending integers |
| mergeMap | ||||||||||||||||||||
mergeMap(this: typeReference, project: undefined, resultSelector: undefined, concurrent?: number)
|
||||||||||||||||||||
|
Parameters :
|
| mergeMap | ||||||||||||||||
mergeMap(this: typeReference, project: undefined, concurrent?: number)
|
||||||||||||||||
|
Parameters :
|
| mergeMap | ||||||||||||||||||||
mergeMap(this: typeReference, project: undefined, resultSelector?: undefined, concurrent: number)
|
||||||||||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable. Maps each value to an Observable, then flattens all of these inner Observables using {@link mergeAll}.
Returns an Observable that emits items based on applying a function that you supply to each item emitted by the source Observable, where that function returns an Observable, and then merging those resulting Observables and emitting the results of this merger.
Parameters :
Example :
Map and flatten each letter to an Observable ticking every 1 second var letters = Rx.Observable.of('a', 'b', 'c'); var result = letters.mergeMap(x => Rx.Observable.interval(1000).map(i => x+i) ); result.subscribe(x => console.log(x)); // Results in the following: // a0 // b0 // c0 // a1 // b1 // c1 // continues to list a,b,c with respective ascending integers |
| mergeMap | ||||||||||||
mergeMap(project: undefined, concurrent?: number)
|
||||||||||||
|
Parameters :
|
| mergeMap | ||||||||||||||||
mergeMap(project: undefined, resultSelector: undefined, concurrent?: number)
|
||||||||||||||||
|
Parameters :
|
| mergeMap | ||||||||||||||||
mergeMap(project: undefined, resultSelector?: undefined, concurrent: number)
|
||||||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable. Maps each value to an Observable, then flattens all of these inner Observables using {@link mergeAll}.
Returns an Observable that emits items based on applying a function that you supply to each item emitted by the source Observable, where that function returns an Observable, and then merging those resulting Observables and emitting the results of this merger.
Parameters :
Example :
Map and flatten each letter to an Observable ticking every 1 second var letters = Rx.Observable.of('a', 'b', 'c'); var result = letters.mergeMap(x => Rx.Observable.interval(1000).map(i => x+i) ); result.subscribe(x => console.log(x)); // Results in the following: // a0 // b0 // c0 // a1 // b1 // c1 // continues to list a,b,c with respective ascending integers |
| mergeMap | ||||||||||||||||
mergeMap(this: typeReference, project: undefined, concurrent?: number)
|
||||||||||||||||
|
Parameters :
|
| mergeMap | ||||||||||||||||||||
mergeMap(this: typeReference, project: undefined, resultSelector?: undefined, concurrent: number)
|
||||||||||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable. Maps each value to an Observable, then flattens all of these inner Observables using {@link mergeAll}.
Returns an Observable that emits items based on applying a function that you supply to each item emitted by the source Observable, where that function returns an Observable, and then merging those resulting Observables and emitting the results of this merger.
Parameters :
Example :
Map and flatten each letter to an Observable ticking every 1 second var letters = Rx.Observable.of('a', 'b', 'c'); var result = letters.mergeMap(x => Rx.Observable.interval(1000).map(i => x+i) ); result.subscribe(x => console.log(x)); // Results in the following: // a0 // b0 // c0 // a1 // b1 // c1 // continues to list a,b,c with respective ascending integers |
| mergeMap | ||||||||||||||||||||
mergeMap(this: typeReference, project: undefined, resultSelector: undefined, concurrent?: number)
|
||||||||||||||||||||
|
Parameters :
|
| mergeMapTo | ||||||||||||||||||||
mergeMapTo(this: typeReference, observable: typeReference, resultSelector: undefined, concurrent?: number)
|
||||||||||||||||||||
|
Parameters :
|
| mergeMapTo | ||||||||||||||||
mergeMapTo(this: typeReference, observable: typeReference, concurrent?: number)
|
||||||||||||||||
|
Parameters :
|
| mergeMapTo | ||||||||||||||||||||
mergeMapTo(this: typeReference, innerObservable: typeReference, resultSelector?: undefined, concurrent: number)
|
||||||||||||||||||||
|
Projects each source value to the same Observable which is merged multiple times in the output Observable. It's like {@link mergeMap}, but maps each value always to the same inner Observable.
Maps each source value to the given Observable
Parameters :
Example :
For each click event, start an interval Observable ticking every 1 second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.mergeMapTo(Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| mergeMapTo | ||||||||||||
mergeMapTo(observable: typeReference, concurrent?: number)
|
||||||||||||
|
Parameters :
|
| mergeMapTo | ||||||||||||||||
mergeMapTo(observable: typeReference, resultSelector: undefined, concurrent?: number)
|
||||||||||||||||
|
Parameters :
|
| mergeMapTo | ||||||||||||||||
mergeMapTo(innerObservable: typeReference, resultSelector?: undefined, concurrent: number)
|
||||||||||||||||
|
Projects each source value to the same Observable which is merged multiple times in the output Observable. It's like {@link mergeMap}, but maps each value always to the same inner Observable.
Maps each source value to the given Observable
Parameters :
Example :
For each click event, start an interval Observable ticking every 1 second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.mergeMapTo(Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| mergeMapTo | ||||||||||||
mergeMapTo(observable: typeReference, concurrent?: number)
|
||||||||||||
|
Parameters :
|
| mergeMapTo | ||||||||||||||||
mergeMapTo(observable: typeReference, resultSelector: undefined, concurrent?: number)
|
||||||||||||||||
|
Parameters :
|
| mergeMapTo | ||||||||||||||||
mergeMapTo(innerObservable: typeReference, resultSelector?: undefined, concurrent: number)
|
||||||||||||||||
|
Projects each source value to the same Observable which is merged multiple times in the output Observable. It's like {@link mergeMap}, but maps each value always to the same inner Observable.
Maps each source value to the given Observable
Parameters :
Example :
For each click event, start an interval Observable ticking every 1 second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.mergeMapTo(Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| mergeMapTo | ||||||||||||||||
mergeMapTo(this: typeReference, observable: typeReference, concurrent?: number)
|
||||||||||||||||
|
Parameters :
|
| mergeMapTo | ||||||||||||||||||||
mergeMapTo(this: typeReference, observable: typeReference, resultSelector: undefined, concurrent?: number)
|
||||||||||||||||||||
|
Parameters :
|
| mergeMapTo | ||||||||||||||||||||
mergeMapTo(this: typeReference, innerObservable: typeReference, resultSelector?: undefined, concurrent: number)
|
||||||||||||||||||||
|
Projects each source value to the same Observable which is merged multiple times in the output Observable. It's like {@link mergeMap}, but maps each value always to the same inner Observable.
Maps each source value to the given Observable
Parameters :
Example :
For each click event, start an interval Observable ticking every 1 second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.mergeMapTo(Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| mergeScan | ||||||||||||||||
mergeScan(accumulator: undefined, seed: typeReference, concurrent: number)
|
||||||||||||||||
|
Applies an accumulator function over the source Observable where the accumulator function itself returns an Observable, then each intermediate Observable returned is merged into the output Observable. It's like {@link scan}, but the Observables returned by the accumulator are merged into the outer Observable.
Parameters :
Example :
Count the number of click events const click$ = Rx.Observable.fromEvent(document, 'click'); const one$ = click$.mapTo(1); const seed = 0; const count$ = one$.mergeScan((acc, one) => Rx.Observable.of(acc + one), seed); count$.subscribe(x => console.log(x)); // Results: 1 2 3 4 // ...and so on for each click |
| mergeScan | ||||||||||||||||
mergeScan(accumulator: undefined, seed: typeReference, concurrent: number)
|
||||||||||||||||
|
Applies an accumulator function over the source Observable where the accumulator function itself returns an Observable, then each intermediate Observable returned is merged into the output Observable. It's like {@link scan}, but the Observables returned by the accumulator are merged into the outer Observable.
Parameters :
Example :
Count the number of click events const click$ = Rx.Observable.fromEvent(document, 'click'); const one$ = click$.mapTo(1); const seed = 0; const count$ = one$.mergeScan((acc, one) => Rx.Observable.of(acc + one), seed); count$.subscribe(x => console.log(x)); // Results: 1 2 3 4 // ...and so on for each click |
| mergeScan | ||||||||||||||||||||
mergeScan(this: typeReference, accumulator: undefined, seed: typeReference, concurrent: number)
|
||||||||||||||||||||
|
Applies an accumulator function over the source Observable where the accumulator function itself returns an Observable, then each intermediate Observable returned is merged into the output Observable. It's like {@link scan}, but the Observables returned by the accumulator are merged into the outer Observable.
Parameters :
Example :
Count the number of click events const click$ = Rx.Observable.fromEvent(document, 'click'); const one$ = click$.mapTo(1); const seed = 0; const count$ = one$.mergeScan((acc, one) => Rx.Observable.of(acc + one), seed); count$.subscribe(x => console.log(x)); // Results: 1 2 3 4 // ...and so on for each click |
| mergeScan | ||||||||||||||||||||
mergeScan(this: typeReference, accumulator: undefined, seed: typeReference, concurrent: number)
|
||||||||||||||||||||
|
Applies an accumulator function over the source Observable where the accumulator function itself returns an Observable, then each intermediate Observable returned is merged into the output Observable. It's like {@link scan}, but the Observables returned by the accumulator are merged into the outer Observable.
Parameters :
Example :
Count the number of click events const click$ = Rx.Observable.fromEvent(document, 'click'); const one$ = click$.mapTo(1); const seed = 0; const count$ = one$.mergeScan((acc, one) => Rx.Observable.of(acc + one), seed); count$.subscribe(x => console.log(x)); // Results: 1 2 3 4 // ...and so on for each click |
| min | ||||||||
min(comparer?: undefined)
|
||||||||
|
The Min operator operates on an Observable that emits numbers (or items that can be compared with a provided function), and when source Observable completes it emits a single item: the item with the smallest value.
Parameters :
Example :
Get the minimal value of a series of numbers Rx.Observable.of(5, 4, 7, 2, 8) .min() .subscribe(x => console.log(x)); // -> 2 Use a comparer function to get the minimal item
interface Person {
age: number,
name: string
}
Observable.of |
| min | ||||||||
min(comparer?: undefined)
|
||||||||
|
The Min operator operates on an Observable that emits numbers (or items that can be compared with a provided function), and when source Observable completes it emits a single item: the item with the smallest value.
Parameters :
Example :
Get the minimal value of a series of numbers Rx.Observable.of(5, 4, 7, 2, 8) .min() .subscribe(x => console.log(x)); // -> 2 Use a comparer function to get the minimal item
interface Person {
age: number,
name: string
}
Observable.of |
| min | ||||||||||||
min(this: typeReference, comparer?: undefined)
|
||||||||||||
|
The Min operator operates on an Observable that emits numbers (or items that can be compared with a provided function), and when source Observable completes it emits a single item: the item with the smallest value.
Parameters :
Example :
Get the minimal value of a series of numbers Rx.Observable.of(5, 4, 7, 2, 8) .min() .subscribe(x => console.log(x)); // -> 2 Use a comparer function to get the minimal item
interface Person {
age: number,
name: string
}
Observable.of |
| min | ||||||||||||
min(this: typeReference, comparer?: undefined)
|
||||||||||||
|
The Min operator operates on an Observable that emits numbers (or items that can be compared with a provided function), and when source Observable completes it emits a single item: the item with the smallest value.
Parameters :
Example :
Get the minimal value of a series of numbers Rx.Observable.of(5, 4, 7, 2, 8) .min() .subscribe(x => console.log(x)); // -> 2 Use a comparer function to get the minimal item
interface Person {
age: number,
name: string
}
Observable.of |
| minimalSetImpl |
minimalSetImpl()
|
| minimalSetImpl |
minimalSetImpl()
|
| multicast | ||||||||||||
multicast(SubjectFactory: undefined, selector?: typeReference)
|
||||||||||||
|
Parameters :
|
| multicast | ||||||||||||
multicast(SubjectFactory: undefined, selector?: typeReference)
|
||||||||||||
|
Parameters :
|
| multicast | ||||||||||||
multicast(subjectOrSubjectFactory: undefined, selector?: undefined)
|
||||||||||||
|
Returns an Observable that emits the results of invoking a specified selector on items emitted by a ConnectableObservable that shares a single subscription to the underlying stream.
Parameters :
|
| multicast | ||||||||
multicast(subjectOrSubjectFactory: typeReference)
|
||||||||
|
Parameters :
|
| multicast | ||||||||
multicast(subjectOrSubjectFactory: typeReference)
|
||||||||
|
Parameters :
|
| multicast | ||||||||||||
multicast(subjectOrSubjectFactory: undefined, selector?: undefined)
|
||||||||||||
|
Returns an Observable that emits the results of invoking a specified selector on items emitted by a ConnectableObservable that shares a single subscription to the underlying stream.
Parameters :
|
| multicast | ||||||||||||
multicast(SubjectFactory: undefined, selector?: typeReference)
|
||||||||||||
|
Parameters :
|
| multicast | ||||||||||||
multicast(SubjectFactory: undefined, selector?: typeReference)
|
||||||||||||
|
Parameters :
|
| multicast | ||||||||||||
multicast(SubjectFactory: undefined, selector?: typeReference)
|
||||||||||||
|
Parameters :
|
| multicast | ||||||||||||||||
multicast(this: typeReference, subjectOrSubjectFactory: undefined, selector?: undefined)
|
||||||||||||||||
|
Allows source Observable to be subscribed only once with a Subject of choice, while still sharing its values between multiple subscribers. Subscribe to Observable once, but send its values to multiple subscribers.
In the first mode you provide a single argument to it, which can be either an initialized Subject or a Subject
factory. As a result you will get a special kind of an Observable - a ConnectableObservable. It can be
subscribed multiple times, just as regular Observable, but it won't subscribe to the source Observable at that
moment. It will do it only if you call its The most common pattern of using ConnectableObservable is calling The second mode is invoked by calling Subject provided as a first parameter of Also, if you use {@link publish} or {@link publishReplay} with a ConnectableObservables
Parameters :
Example :
Use ConnectableObservable const seconds = Rx.Observable.interval(1000); const connectableSeconds = seconds.multicast(new Subject()); connectableSeconds.subscribe(value => console.log('first: ' + value)); connectableSeconds.subscribe(value => console.log('second: ' + value)); // At this point still nothing happens, even though we subscribed twice. connectableSeconds.connect(); // From now on Use selector const seconds = Rx.Observable.interval(1000); seconds
.multicast(
() => new Subject(),
seconds => seconds.zip(seconds) // Usually zip would subscribe to |
| multicast | ||||||||||||
multicast(this: typeReference, subjectOrSubjectFactory: typeReference)
|
||||||||||||
|
Parameters :
|
| multicast | ||||||||||||
multicast(SubjectFactory: undefined, selector?: typeReference)
|
||||||||||||
|
Parameters :
|
| multicast | ||||||||||||||||
multicast(this: typeReference, subjectOrSubjectFactory: undefined, selector?: undefined)
|
||||||||||||||||
|
Allows source Observable to be subscribed only once with a Subject of choice, while still sharing its values between multiple subscribers. Subscribe to Observable once, but send its values to multiple subscribers.
In the first mode you provide a single argument to it, which can be either an initialized Subject or a Subject
factory. As a result you will get a special kind of an Observable - a ConnectableObservable. It can be
subscribed multiple times, just as regular Observable, but it won't subscribe to the source Observable at that
moment. It will do it only if you call its The most common pattern of using ConnectableObservable is calling The second mode is invoked by calling Subject provided as a first parameter of Also, if you use {@link publish} or {@link publishReplay} with a ConnectableObservables
Parameters :
Example :
Use ConnectableObservable const seconds = Rx.Observable.interval(1000); const connectableSeconds = seconds.multicast(new Subject()); connectableSeconds.subscribe(value => console.log('first: ' + value)); connectableSeconds.subscribe(value => console.log('second: ' + value)); // At this point still nothing happens, even though we subscribed twice. connectableSeconds.connect(); // From now on Use selector const seconds = Rx.Observable.interval(1000); seconds
.multicast(
() => new Subject(),
seconds => seconds.zip(seconds) // Usually zip would subscribe to |
| multicast | ||||||||||||
multicast(SubjectFactory: undefined, selector?: typeReference)
|
||||||||||||
|
Parameters :
|
| multicast | ||||||||||||
multicast(SubjectFactory: undefined, selector?: typeReference)
|
||||||||||||
|
Parameters :
|
| multicast | ||||||||||||
multicast(this: typeReference, subjectOrSubjectFactory: typeReference)
|
||||||||||||
|
Parameters :
|
| noop |
noop()
|
| noop |
noop()
|
| not | ||||||||||||
not(pred: typeReference, thisArg: any)
|
||||||||||||
|
Parameters :
|
| not | ||||||||||||
not(pred: typeReference, thisArg: any)
|
||||||||||||
|
Parameters :
|
| observeOn | ||||||||||||||||
observeOn(this: typeReference, scheduler: typeReference, delay: number)
|
||||||||||||||||
|
Re-emits all notifications from source Observable with specified scheduler. Ensure a specific scheduler is used, from outside of an Observable.
Returned Observable emits the same notifications (nexted values, complete and error events) as the source Observable,
but rescheduled with provided scheduler. Note that this doesn't mean that source Observables internal
scheduler will be replaced in any way. Original scheduler still will be used, but when the source Observable emits
notification, it will be immediately scheduled again - this time with scheduler passed to As a matter of fact,
Parameters :
Example :
Ensure values in subscribe are called just before browser repaint. const intervals = Rx.Observable.interval(10); // Intervals are scheduled // with async scheduler by default... intervals .observeOn(Rx.Scheduler.animationFrame) // ...but we will observe on animationFrame .subscribe(val => { // scheduler to ensure smooth animation. someDiv.style.height = val + 'px'; }); |
| observeOn | ||||||||||||||||
observeOn(this: typeReference, scheduler: typeReference, delay: number)
|
||||||||||||||||
|
Re-emits all notifications from source Observable with specified scheduler. Ensure a specific scheduler is used, from outside of an Observable.
Returned Observable emits the same notifications (nexted values, complete and error events) as the source Observable,
but rescheduled with provided scheduler. Note that this doesn't mean that source Observables internal
scheduler will be replaced in any way. Original scheduler still will be used, but when the source Observable emits
notification, it will be immediately scheduled again - this time with scheduler passed to As a matter of fact,
Parameters :
Example :
Ensure values in subscribe are called just before browser repaint. const intervals = Rx.Observable.interval(10); // Intervals are scheduled // with async scheduler by default... intervals .observeOn(Rx.Scheduler.animationFrame) // ...but we will observe on animationFrame .subscribe(val => { // scheduler to ensure smooth animation. someDiv.style.height = val + 'px'; }); |
| observeOn | ||||||||||||
observeOn(scheduler: typeReference, delay: number)
|
||||||||||||
|
Re-emits all notifications from source Observable with specified scheduler. Ensure a specific scheduler is used, from outside of an Observable.
Returned Observable emits the same notifications (nexted values, complete and error events) as the source Observable,
but rescheduled with provided scheduler. Note that this doesn't mean that source Observables internal
scheduler will be replaced in any way. Original scheduler still will be used, but when the source Observable emits
notification, it will be immediately scheduled again - this time with scheduler passed to As a matter of fact,
Parameters :
Example :
Ensure values in subscribe are called just before browser repaint. const intervals = Rx.Observable.interval(10); // Intervals are scheduled // with async scheduler by default... intervals .observeOn(Rx.Scheduler.animationFrame) // ...but we will observe on animationFrame .subscribe(val => { // scheduler to ensure smooth animation. someDiv.style.height = val + 'px'; }); |
| observeOn | ||||||||||||
observeOn(scheduler: typeReference, delay: number)
|
||||||||||||
|
Re-emits all notifications from source Observable with specified scheduler. Ensure a specific scheduler is used, from outside of an Observable.
Returned Observable emits the same notifications (nexted values, complete and error events) as the source Observable,
but rescheduled with provided scheduler. Note that this doesn't mean that source Observables internal
scheduler will be replaced in any way. Original scheduler still will be used, but when the source Observable emits
notification, it will be immediately scheduled again - this time with scheduler passed to As a matter of fact,
Parameters :
Example :
Ensure values in subscribe are called just before browser repaint. const intervals = Rx.Observable.interval(10); // Intervals are scheduled // with async scheduler by default... intervals .observeOn(Rx.Scheduler.animationFrame) // ...but we will observe on animationFrame .subscribe(val => { // scheduler to ensure smooth animation. someDiv.style.height = val + 'px'; }); |
| onErrorResumeNext | ||||||||||||||||||||||||
onErrorResumeNext(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||
onErrorResumeNext(v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||
onErrorResumeNext(v: typeReference)
|
||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||
onErrorResumeNext(v2: typeReference, v3: typeReference)
|
||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||||||
onErrorResumeNext(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||
onErrorResumeNext(observables: typeReference)
|
||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||
onErrorResumeNext(array: undefined)
|
||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||
onErrorResumeNext(nextSources: typeReference)
|
||||||||
|
When any of the provided Observable emits an complete or error notification, it immediately subscribes to the next one that was passed. Execute series of Observables no matter what, even if it means swallowing errors.
Note that you do not get any access to errors emitted by the Observables. In particular do not expect these errors to appear in error callback passed to {@link subscribe}. If you want to take specific actions based on what error was emitted by an Observable, you should try out {@link catch} instead.
Parameters :
Example :
Subscribe to the next Observable after map fails Rx.Observable.of(1, 2, 3, 0) .map(x => { if (x === 0) { throw Error(); } return 10 / x; }) .onErrorResumeNext(Rx.Observable.of(1, 2, 3)) .subscribe( val => console.log(val), err => console.log(err), // Will never be called. () => console.log('that\'s it!') ); // Logs: // 10 // 5 // 3.3333333333333335 // 1 // 2 // 3 // "that's it!" |
| onErrorResumeNextStatic | ||||||||
onErrorResumeNextStatic(v: typeReference)
|
||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||||||
onErrorResumeNextStatic(v2: typeReference, v3: typeReference)
|
||||||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||||||||||||||
onErrorResumeNextStatic(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||||||||||||||||||
onErrorResumeNextStatic(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||
onErrorResumeNextStatic(observables: typeReference)
|
||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||
onErrorResumeNextStatic(array: undefined)
|
||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||
onErrorResumeNextStatic(nextSources: typeReference)
|
||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||||||||||
onErrorResumeNextStatic(v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||||||
onErrorResumeNext(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||
onErrorResumeNext(this: typeReference, v: typeReference)
|
||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||
onErrorResumeNext(this: typeReference, v2: typeReference, v3: typeReference)
|
||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||||||||||
onErrorResumeNext(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||||||||||||||
onErrorResumeNext(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||
onErrorResumeNext(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||
onErrorResumeNext(this: typeReference, array: undefined)
|
||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||
onErrorResumeNext(this: typeReference, nextSources: typeReference)
|
||||||||||||
|
When any of the provided Observable emits an complete or error notification, it immediately subscribes to the next one that was passed. Execute series of Observables no matter what, even if it means swallowing errors.
Note that you do not get any access to errors emitted by the Observables. In particular do not expect these errors to appear in error callback passed to {@link subscribe}. If you want to take specific actions based on what error was emitted by an Observable, you should try out {@link catch} instead.
Parameters :
Example :
Subscribe to the next Observable after map fails Rx.Observable.of(1, 2, 3, 0) .map(x => { if (x === 0) { throw Error(); } return 10 / x; }) .onErrorResumeNext(Rx.Observable.of(1, 2, 3)) .subscribe( val => console.log(val), err => console.log(err), // Will never be called. () => console.log('that\'s it!') ); // Logs: // 10 // 5 // 3.3333333333333335 // 1 // 2 // 3 // "that's it!" |
| onErrorResumeNext | ||||||||
onErrorResumeNext(nextSources: typeReference)
|
||||||||
|
When any of the provided Observable emits an complete or error notification, it immediately subscribes to the next one that was passed. Execute series of Observables no matter what, even if it means swallowing errors.
Note that you do not get any access to errors emitted by the Observables. In particular do not expect these errors to appear in error callback passed to {@link subscribe}. If you want to take specific actions based on what error was emitted by an Observable, you should try out {@link catch} instead.
Parameters :
Example :
Subscribe to the next Observable after map fails Rx.Observable.of(1, 2, 3, 0) .map(x => { if (x === 0) { throw Error(); } return 10 / x; }) .onErrorResumeNext(Rx.Observable.of(1, 2, 3)) .subscribe( val => console.log(val), err => console.log(err), // Will never be called. () => console.log('that\'s it!') ); // Logs: // 10 // 5 // 3.3333333333333335 // 1 // 2 // 3 // "that's it!" |
| onErrorResumeNext | ||||||||
onErrorResumeNext(array: undefined)
|
||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||
onErrorResumeNext(observables: typeReference)
|
||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||||||||||
onErrorResumeNext(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||||||
onErrorResumeNext(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||
onErrorResumeNext(v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||
onErrorResumeNext(v2: typeReference, v3: typeReference)
|
||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||
onErrorResumeNext(v: typeReference)
|
||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||||||||||||||||||
onErrorResumeNextStatic(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||||||||||||||
onErrorResumeNextStatic(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||||||||||
onErrorResumeNextStatic(v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||||||
onErrorResumeNextStatic(v2: typeReference, v3: typeReference)
|
||||||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||
onErrorResumeNextStatic(nextSources: typeReference)
|
||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||
onErrorResumeNextStatic(observables: typeReference)
|
||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||
onErrorResumeNextStatic(v: typeReference)
|
||||||||
|
Parameters :
|
| onErrorResumeNextStatic | ||||||||
onErrorResumeNextStatic(array: undefined)
|
||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||
onErrorResumeNext(this: typeReference, v: typeReference)
|
||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||
onErrorResumeNext(this: typeReference, v2: typeReference, v3: typeReference)
|
||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||||||
onErrorResumeNext(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||||||||||
onErrorResumeNext(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||||||||||||||||||
onErrorResumeNext(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||
onErrorResumeNext(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||
onErrorResumeNext(this: typeReference, array: undefined)
|
||||||||||||
|
Parameters :
|
| onErrorResumeNext | ||||||||||||
onErrorResumeNext(this: typeReference, nextSources: typeReference)
|
||||||||||||
|
When any of the provided Observable emits an complete or error notification, it immediately subscribes to the next one that was passed. Execute series of Observables no matter what, even if it means swallowing errors.
Note that you do not get any access to errors emitted by the Observables. In particular do not expect these errors to appear in error callback passed to {@link subscribe}. If you want to take specific actions based on what error was emitted by an Observable, you should try out {@link catch} instead.
Parameters :
Example :
Subscribe to the next Observable after map fails Rx.Observable.of(1, 2, 3, 0) .map(x => { if (x === 0) { throw Error(); } return 10 / x; }) .onErrorResumeNext(Rx.Observable.of(1, 2, 3)) .subscribe( val => console.log(val), err => console.log(err), // Will never be called. () => console.log('that\'s it!') ); // Logs: // 10 // 5 // 3.3333333333333335 // 1 // 2 // 3 // "that's it!" |
| pairwise |
pairwise()
|
|
Groups pairs of consecutive emissions together and emits them as an array of two values. Puts the current value and previous value together as an array, and emits that.
The Nth emission from the source Observable will cause the output Observable
to emit an array [(N-1)th, Nth] of the previous and the current value, as a
pair. For this reason,
Example :
On every click (starting from the second), emit the relative distance to the previous click var clicks = Rx.Observable.fromEvent(document, 'click'); var pairs = clicks.pairwise(); var distance = pairs.map(pair => { var x0 = pair[0].clientX; var y0 = pair[0].clientY; var x1 = pair[1].clientX; var y1 = pair[1].clientY; return Math.sqrt(Math.pow(x0 - x1, 2) + Math.pow(y0 - y1, 2)); }); distance.subscribe(x => console.log(x)); |
| pairwise | ||||||||
pairwise(this: typeReference)
|
||||||||
|
Groups pairs of consecutive emissions together and emits them as an array of two values. Puts the current value and previous value together as an array, and emits that.
The Nth emission from the source Observable will cause the output Observable
to emit an array [(N-1)th, Nth] of the previous and the current value, as a
pair. For this reason,
Parameters :
Example :
On every click (starting from the second), emit the relative distance to the previous click var clicks = Rx.Observable.fromEvent(document, 'click'); var pairs = clicks.pairwise(); var distance = pairs.map(pair => { var x0 = pair[0].clientX; var y0 = pair[0].clientY; var x1 = pair[1].clientX; var y1 = pair[1].clientY; return Math.sqrt(Math.pow(x0 - x1, 2) + Math.pow(y0 - y1, 2)); }); distance.subscribe(x => console.log(x)); |
| pairwise | ||||||||
pairwise(this: typeReference)
|
||||||||
|
Groups pairs of consecutive emissions together and emits them as an array of two values. Puts the current value and previous value together as an array, and emits that.
The Nth emission from the source Observable will cause the output Observable
to emit an array [(N-1)th, Nth] of the previous and the current value, as a
pair. For this reason,
Parameters :
Example :
On every click (starting from the second), emit the relative distance to the previous click var clicks = Rx.Observable.fromEvent(document, 'click'); var pairs = clicks.pairwise(); var distance = pairs.map(pair => { var x0 = pair[0].clientX; var y0 = pair[0].clientY; var x1 = pair[1].clientX; var y1 = pair[1].clientY; return Math.sqrt(Math.pow(x0 - x1, 2) + Math.pow(y0 - y1, 2)); }); distance.subscribe(x => console.log(x)); |
| pairwise |
pairwise()
|
|
Groups pairs of consecutive emissions together and emits them as an array of two values. Puts the current value and previous value together as an array, and emits that.
The Nth emission from the source Observable will cause the output Observable
to emit an array [(N-1)th, Nth] of the previous and the current value, as a
pair. For this reason,
Example :
On every click (starting from the second), emit the relative distance to the previous click var clicks = Rx.Observable.fromEvent(document, 'click'); var pairs = clicks.pairwise(); var distance = pairs.map(pair => { var x0 = pair[0].clientX; var y0 = pair[0].clientY; var x1 = pair[1].clientX; var y1 = pair[1].clientY; return Math.sqrt(Math.pow(x0 - x1, 2) + Math.pow(y0 - y1, 2)); }); distance.subscribe(x => console.log(x)); |
| partition | ||||||||||||
partition(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Splits the source Observable into two, one with values that satisfy a predicate, and another with values that don't satisfy the predicate. It's like {@link filter}, but returns two Observables: one like the output of {@link filter}, and the other with values that did not pass the condition.
Parameters :
Example :
Partition click events into those on DIV elements and those elsewhere var clicks = Rx.Observable.fromEvent(document, 'click'); var parts = clicks.partition(ev => ev.target.tagName === 'DIV'); var clicksOnDivs = parts[0]; var clicksElsewhere = parts[1]; clicksOnDivs.subscribe(x => console.log('DIV clicked: ', x)); clicksElsewhere.subscribe(x => console.log('Other clicked: ', x)); |
| partition | ||||||||||||||||
partition(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Splits the source Observable into two, one with values that satisfy a predicate, and another with values that don't satisfy the predicate. It's like {@link filter}, but returns two Observables: one like the output of {@link filter}, and the other with values that did not pass the condition.
Parameters :
Example :
Partition click events into those on DIV elements and those elsewhere var clicks = Rx.Observable.fromEvent(document, 'click'); var parts = clicks.partition(ev => ev.target.tagName === 'DIV'); var clicksOnDivs = parts[0]; var clicksElsewhere = parts[1]; clicksOnDivs.subscribe(x => console.log('DIV clicked: ', x)); clicksElsewhere.subscribe(x => console.log('Other clicked: ', x)); |
| partition | ||||||||||||
partition(predicate: undefined, thisArg?: any)
|
||||||||||||
|
Splits the source Observable into two, one with values that satisfy a predicate, and another with values that don't satisfy the predicate. It's like {@link filter}, but returns two Observables: one like the output of {@link filter}, and the other with values that did not pass the condition.
Parameters :
Example :
Partition click events into those on DIV elements and those elsewhere var clicks = Rx.Observable.fromEvent(document, 'click'); var parts = clicks.partition(ev => ev.target.tagName === 'DIV'); var clicksOnDivs = parts[0]; var clicksElsewhere = parts[1]; clicksOnDivs.subscribe(x => console.log('DIV clicked: ', x)); clicksElsewhere.subscribe(x => console.log('Other clicked: ', x)); |
| partition | ||||||||||||||||
partition(this: typeReference, predicate: undefined, thisArg?: any)
|
||||||||||||||||
|
Splits the source Observable into two, one with values that satisfy a predicate, and another with values that don't satisfy the predicate. It's like {@link filter}, but returns two Observables: one like the output of {@link filter}, and the other with values that did not pass the condition.
Parameters :
Example :
Partition click events into those on DIV elements and those elsewhere var clicks = Rx.Observable.fromEvent(document, 'click'); var parts = clicks.partition(ev => ev.target.tagName === 'DIV'); var clicksOnDivs = parts[0]; var clicksElsewhere = parts[1]; clicksOnDivs.subscribe(x => console.log('DIV clicked: ', x)); clicksElsewhere.subscribe(x => console.log('Other clicked: ', x)); |
| patchTimer | ||||||||||||||||||||
patchTimer(window: any, setName: string, cancelName: string, nameSuffix: string)
|
||||||||||||||||||||
|
Parameters :
|
| patchTimer | ||||||||||||||||||||
patchTimer(window: any, setName: string, cancelName: string, nameSuffix: string)
|
||||||||||||||||||||
|
Parameters :
|
| pipe | ||||||||
pipe(fns: typeReference)
|
||||||||
|
Parameters :
|
| pipe | ||||||||||||||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference, op4: typeReference, op5: typeReference, op6: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| pipe | ||||||||||||||||||||||||||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference, op4: typeReference, op5: typeReference, op6: typeReference, op7: typeReference, op8: typeReference, op9: typeReference)
|
||||||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| pipe | ||||||||||||||||||||||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference, op4: typeReference, op5: typeReference, op6: typeReference, op7: typeReference, op8: typeReference)
|
||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| pipe | ||||||||||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference, op4: typeReference, op5: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| pipe | ||||||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference, op4: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| pipe | ||||||||||||||||||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference, op4: typeReference, op5: typeReference, op6: typeReference, op7: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| pipe | ||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference)
|
||||||||||||||||
|
Parameters :
|
| pipe | ||||||||||||
pipe(op1: typeReference, op2: typeReference)
|
||||||||||||
|
Parameters :
|
| pipe |
pipe()
|
| pipe | ||||||||
pipe(op1: typeReference)
|
||||||||
|
Parameters :
|
| pipeFromArray | ||||||||
pipeFromArray(fns: typeReference)
|
||||||||
|
Parameters :
|
| pipe | ||||||||||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference, op4: typeReference, op5: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| pipe | ||||||||||||||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference, op4: typeReference, op5: typeReference, op6: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| pipe | ||||||||||||
pipe(op1: typeReference, op2: typeReference)
|
||||||||||||
|
Parameters :
|
| pipe | ||||||||||||||||||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference, op4: typeReference, op5: typeReference, op6: typeReference, op7: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| pipe | ||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference)
|
||||||||||||||||
|
Parameters :
|
| pipe |
pipe()
|
| pipe | ||||||||||||||||||||||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference, op4: typeReference, op5: typeReference, op6: typeReference, op7: typeReference, op8: typeReference)
|
||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| pipe | ||||||||||||||||||||||||||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference, op4: typeReference, op5: typeReference, op6: typeReference, op7: typeReference, op8: typeReference, op9: typeReference)
|
||||||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| pipe | ||||||||
pipe(op1: typeReference)
|
||||||||
|
Parameters :
|
| pipe | ||||||||
pipe(fns: typeReference)
|
||||||||
|
Parameters :
|
| pipe | ||||||||||||||||||||
pipe(op1: typeReference, op2: typeReference, op3: typeReference, op4: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| pipeFromArray | ||||||||
pipeFromArray(fns: typeReference)
|
||||||||
|
Parameters :
|
| pluck | ||||||||
pluck(...properties: undefined)
|
||||||||
|
Maps each source value (an object) to its specified nested property. Like {@link map}, but meant only for picking one of the nested properties of every emitted object.
Given a list of strings describing a path to an object property, retrieves
the value of a specified nested property from all values in the source
Observable. If a property can't be resolved, it will return
Parameters :
Example :
Map every click to the tagName of the clicked target element var clicks = Rx.Observable.fromEvent(document, 'click'); var tagNames = clicks.pluck('target', 'tagName'); tagNames.subscribe(x => console.log(x)); |
| plucker | ||||||||||||
plucker(props: undefined, length: number)
|
||||||||||||
|
Parameters :
|
| pluck | ||||||||||||
pluck(this: typeReference, ...properties: undefined)
|
||||||||||||
|
Maps each source value (an object) to its specified nested property. Like {@link map}, but meant only for picking one of the nested properties of every emitted object.
Given a list of strings describing a path to an object property, retrieves
the value of a specified nested property from all values in the source
Observable. If a property can't be resolved, it will return
Parameters :
Example :
Map every click to the tagName of the clicked target element var clicks = Rx.Observable.fromEvent(document, 'click'); var tagNames = clicks.pluck('target', 'tagName'); tagNames.subscribe(x => console.log(x)); |
| pluck | ||||||||||||
pluck(this: typeReference, ...properties: undefined)
|
||||||||||||
|
Maps each source value (an object) to its specified nested property. Like {@link map}, but meant only for picking one of the nested properties of every emitted object.
Given a list of strings describing a path to an object property, retrieves
the value of a specified nested property from all values in the source
Observable. If a property can't be resolved, it will return
Parameters :
Example :
Map every click to the tagName of the clicked target element var clicks = Rx.Observable.fromEvent(document, 'click'); var tagNames = clicks.pluck('target', 'tagName'); tagNames.subscribe(x => console.log(x)); |
| pluck | ||||||||
pluck(...properties: undefined)
|
||||||||
|
Maps each source value (an object) to its specified nested property. Like {@link map}, but meant only for picking one of the nested properties of every emitted object.
Given a list of strings describing a path to an object property, retrieves
the value of a specified nested property from all values in the source
Observable. If a property can't be resolved, it will return
Parameters :
Example :
Map every click to the tagName of the clicked target element var clicks = Rx.Observable.fromEvent(document, 'click'); var tagNames = clicks.pluck('target', 'tagName'); tagNames.subscribe(x => console.log(x)); |
| plucker | ||||||||||||
plucker(props: undefined, length: number)
|
||||||||||||
|
Parameters :
|
| promiseSequential | ||||||||
promiseSequential(promises: )
|
||||||||
|
Parameters :
|
| promiseSequential | ||||||||
promiseSequential(promises: )
|
||||||||
|
Parameters :
|
| publish | ||||||||
publish(selector: typeReference)
|
||||||||
|
Parameters :
|
| publish |
publish()
|
| publish | ||||||||
publish(selector?: typeReference)
|
||||||||
|
Returns a ConnectableObservable, which is a variety of Observable that waits until its connect method is called before it begins emitting items to those Observers that have subscribed to it.
Parameters :
|
| publish | ||||||||
publish(selector: typeReference)
|
||||||||
|
Parameters :
|
| publish | ||||||||
publish(selector: typeReference)
|
||||||||
|
Parameters :
|
| publish | ||||||||
publish(selector: typeReference)
|
||||||||
|
Parameters :
|
| publish |
publish()
|
| publish | ||||||||
publish(selector?: typeReference)
|
||||||||
|
Returns a ConnectableObservable, which is a variety of Observable that waits until its connect method is called before it begins emitting items to those Observers that have subscribed to it.
Parameters :
|
| publish | ||||||||
publish(this: typeReference)
|
||||||||
|
Parameters :
|
| publish | ||||||||||||
publish(this: typeReference, selector: undefined)
|
||||||||||||
|
Parameters :
|
| publish | ||||||||||||
publish(this: typeReference, selector: undefined)
|
||||||||||||
|
Parameters :
|
| publish | ||||||||||||
publish(this: typeReference, selector?: undefined)
|
||||||||||||
|
Returns a ConnectableObservable, which is a variety of Observable that waits until its connect method is called before it begins emitting items to those Observers that have subscribed to it.
Parameters :
|
| publish | ||||||||||||
publish(this: typeReference, selector?: undefined)
|
||||||||||||
|
Returns a ConnectableObservable, which is a variety of Observable that waits until its connect method is called before it begins emitting items to those Observers that have subscribed to it.
Parameters :
|
| publish | ||||||||||||
publish(this: typeReference, selector: undefined)
|
||||||||||||
|
Parameters :
|
| publish | ||||||||||||
publish(this: typeReference, selector: undefined)
|
||||||||||||
|
Parameters :
|
| publish | ||||||||
publish(this: typeReference)
|
||||||||
|
Parameters :
|
| publishBehavior | ||||||||
publishBehavior(value: typeReference)
|
||||||||
|
Parameters :
|
| publishBehavior | ||||||||||||
publishBehavior(this: typeReference, value: typeReference)
|
||||||||||||
|
Parameters :
|
| publishBehavior | ||||||||
publishBehavior(value: typeReference)
|
||||||||
|
Parameters :
|
| publishBehavior | ||||||||||||
publishBehavior(this: typeReference, value: typeReference)
|
||||||||||||
|
Parameters :
|
| publishLast | ||||||||
publishLast(this: typeReference)
|
||||||||
|
Parameters :
|
| publishLast | ||||||||
publishLast(this: typeReference)
|
||||||||
|
Parameters :
|
| publishLast |
publishLast()
|
| publishLast |
publishLast()
|
| publishReplay | ||||||||||||||||
publishReplay(bufferSize?: number, windowTime?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||
publishReplay(bufferSize?: number, windowTime?: number, selector?: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||
publishReplay(bufferSize?: number, windowTime?: number, selector?: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||
publishReplay(bufferSize?: number, windowTime?: number, selectorOrScheduler?: undefined, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||||||
publishReplay(this: typeReference, bufferSize?: number, windowTime?: number, selector?: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||
publishReplay(this: typeReference, bufferSize?: number, windowTime?: number, selector?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||||||
publishReplay(this: typeReference, bufferSize?: number, windowTime?: number, selectorOrScheduler?: undefined, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||
publishReplay(this: typeReference, bufferSize?: number, windowTime?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||
publishReplay(this: typeReference, bufferSize?: number, windowTime?: number, selector?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||||||
publishReplay(this: typeReference, bufferSize?: number, windowTime?: number, selector?: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||
publishReplay(this: typeReference, bufferSize?: number, windowTime?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||||||
publishReplay(this: typeReference, bufferSize?: number, windowTime?: number, selectorOrScheduler?: undefined, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||
publishReplay(bufferSize?: number, windowTime?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||
publishReplay(bufferSize?: number, windowTime?: number, selector?: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||
publishReplay(bufferSize?: number, windowTime?: number, selector?: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| publishReplay | ||||||||||||||||||||
publishReplay(bufferSize?: number, windowTime?: number, selectorOrScheduler?: undefined, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| race | ||||||||||||
race(this: typeReference, observables: typeReference)
|
||||||||||||
|
Returns an Observable that mirrors the first source Observable to emit an item from the combination of this Observable and supplied Observables.
Parameters :
|
| race | ||||||||||||
race(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| race | ||||||||||||
race(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| race | ||||||||||||
race(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| race | ||||||||||||
race(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Returns an Observable that mirrors the first source Observable to emit an item.
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Returns an Observable that mirrors the first source Observable to emit an item.
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Returns an Observable that mirrors the first source Observable to emit an item from the combination of this Observable and supplied Observables.
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||||||
race(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| race | ||||||||||||
race(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| race | ||||||||||||
race(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| race | ||||||||||||
race(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| race | ||||||||||||
race(this: typeReference, observables: typeReference)
|
||||||||||||
|
Returns an Observable that mirrors the first source Observable to emit an item from the combination of this Observable and supplied Observables.
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Parameters :
|
| race | ||||||||
race(observables: typeReference)
|
||||||||
|
Returns an Observable that mirrors the first source Observable to emit an item from the combination of this Observable and supplied Observables.
Parameters :
|
| reduce | ||||||||||||||||
reduce(this: typeReference, accumulator: undefined, seed?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| reduce | ||||||||||||||||
reduce(this: typeReference, accumulator: undefined, seed: undefined)
|
||||||||||||||||
|
Parameters :
|
| reduce | ||||||||||||||||
reduce(this: typeReference, accumulator: undefined, seed: typeReference)
|
||||||||||||||||
|
Parameters :
|
| reduce | ||||||||||||||||
reduce(this: typeReference, accumulator: undefined, seed?: typeReference)
|
||||||||||||||||
|
Applies an accumulator function over the source Observable, and returns the accumulated result when the source completes, given an optional seed value. Combines together all values emitted on the source, using an accumulator function that knows how to join a new source value into the accumulation from the past.
Like
Array.prototype.reduce(),
Returns an Observable that applies a specified
Parameters :
Example :
Count the number of click events that happened in 5 seconds var clicksInFiveSeconds = Rx.Observable.fromEvent(document, 'click') .takeUntil(Rx.Observable.interval(5000)); var ones = clicksInFiveSeconds.mapTo(1); var seed = 0; var count = ones.reduce((acc, one) => acc + one, seed); count.subscribe(x => console.log(x)); |
| reduce | ||||||||||||||||
reduce(this: typeReference, accumulator: undefined, seed?: typeReference)
|
||||||||||||||||
|
Applies an accumulator function over the source Observable, and returns the accumulated result when the source completes, given an optional seed value. Combines together all values emitted on the source, using an accumulator function that knows how to join a new source value into the accumulation from the past.
Like
Array.prototype.reduce(),
Returns an Observable that applies a specified
Parameters :
Example :
Count the number of click events that happened in 5 seconds var clicksInFiveSeconds = Rx.Observable.fromEvent(document, 'click') .takeUntil(Rx.Observable.interval(5000)); var ones = clicksInFiveSeconds.mapTo(1); var seed = 0; var count = ones.reduce((acc, one) => acc + one, seed); count.subscribe(x => console.log(x)); |
| reduce | ||||||||||||||||
reduce(this: typeReference, accumulator: undefined, seed: typeReference)
|
||||||||||||||||
|
Parameters :
|
| reduce | ||||||||||||||||
reduce(this: typeReference, accumulator: undefined, seed: undefined)
|
||||||||||||||||
|
Parameters :
|
| reduce | ||||||||||||||||
reduce(this: typeReference, accumulator: undefined, seed?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| reduce | ||||||||||||
reduce(accumulator: undefined, seed?: typeReference)
|
||||||||||||
|
Parameters :
|
| reduce | ||||||||||||
reduce(accumulator: undefined, seed?: typeReference)
|
||||||||||||
|
Parameters :
|
| reduce | ||||||||||||
reduce(accumulator: undefined, seed: undefined)
|
||||||||||||
|
Parameters :
|
| reduce | ||||||||||||
reduce(accumulator: undefined, seed?: typeReference)
|
||||||||||||
|
Applies an accumulator function over the source Observable, and returns the accumulated result when the source completes, given an optional seed value. Combines together all values emitted on the source, using an accumulator function that knows how to join a new source value into the accumulation from the past.
Like
Array.prototype.reduce(),
Returns an Observable that applies a specified
Parameters :
Example :
Count the number of click events that happened in 5 seconds var clicksInFiveSeconds = Rx.Observable.fromEvent(document, 'click') .takeUntil(Rx.Observable.interval(5000)); var ones = clicksInFiveSeconds.mapTo(1); var seed = 0; var count = ones.reduce((acc, one) => acc + one, seed); count.subscribe(x => console.log(x)); |
| reduce | ||||||||||||
reduce(accumulator: undefined, seed?: typeReference)
|
||||||||||||
|
Parameters :
|
| reduce | ||||||||||||
reduce(accumulator: undefined, seed: undefined)
|
||||||||||||
|
Parameters :
|
| reduce | ||||||||||||
reduce(accumulator: undefined, seed?: typeReference)
|
||||||||||||
|
Parameters :
|
| reduce | ||||||||||||
reduce(accumulator: undefined, seed?: typeReference)
|
||||||||||||
|
Applies an accumulator function over the source Observable, and returns the accumulated result when the source completes, given an optional seed value. Combines together all values emitted on the source, using an accumulator function that knows how to join a new source value into the accumulation from the past.
Like
Array.prototype.reduce(),
Returns an Observable that applies a specified
Parameters :
Example :
Count the number of click events that happened in 5 seconds var clicksInFiveSeconds = Rx.Observable.fromEvent(document, 'click') .takeUntil(Rx.Observable.interval(5000)); var ones = clicksInFiveSeconds.mapTo(1); var seed = 0; var count = ones.reduce((acc, one) => acc + one, seed); count.subscribe(x => console.log(x)); |
| refCount |
refCount()
|
| refCount |
refCount()
|
| registerElementPatch | ||||||||
registerElementPatch(_global: any)
|
||||||||
|
Parameters :
|
| registerElementPatch | ||||||||
registerElementPatch(_global: any)
|
||||||||
|
Parameters :
|
| repeat | ||||||||
repeat(count: number)
|
||||||||
|
Returns an Observable that repeats the stream of items emitted by the source Observable at most count times.
Parameters :
|
| repeat | ||||||||||||
repeat(this: typeReference, count: number)
|
||||||||||||
|
Returns an Observable that repeats the stream of items emitted by the source Observable at most count times.
Parameters :
|
| repeat | ||||||||
repeat(count: number)
|
||||||||
|
Returns an Observable that repeats the stream of items emitted by the source Observable at most count times.
Parameters :
|
| repeat | ||||||||||||
repeat(this: typeReference, count: number)
|
||||||||||||
|
Returns an Observable that repeats the stream of items emitted by the source Observable at most count times.
Parameters :
|
| repeatWhen | ||||||||
repeatWhen(notifier: undefined)
|
||||||||
|
Returns an Observable that mirrors the source Observable with the exception of a
Parameters :
|
| repeatWhen | ||||||||||||
repeatWhen(this: typeReference, notifier: undefined)
|
||||||||||||
|
Returns an Observable that mirrors the source Observable with the exception of a
Parameters :
|
| repeatWhen | ||||||||
repeatWhen(notifier: undefined)
|
||||||||
|
Returns an Observable that mirrors the source Observable with the exception of a
Parameters :
|
| repeatWhen | ||||||||||||
repeatWhen(this: typeReference, notifier: undefined)
|
||||||||||||
|
Returns an Observable that mirrors the source Observable with the exception of a
Parameters :
|
| retry | ||||||||||||
retry(this: typeReference, count: number)
|
||||||||||||
|
Returns an Observable that mirrors the source Observable with the exception of an
Any and all items emitted by the source Observable will be emitted by the resulting Observable, even those emitted
during failed subscriptions. For example, if an Observable fails at first but emits [1, 2] then succeeds the second
time and emits: [1, 2, 3, 4, 5] then the complete stream of emissions and notifications
would be: [1, 2, 1, 2, 3, 4, 5,
Parameters :
|
| retry | ||||||||||||
retry(this: typeReference, count: number)
|
||||||||||||
|
Returns an Observable that mirrors the source Observable with the exception of an
Any and all items emitted by the source Observable will be emitted by the resulting Observable, even those emitted
during failed subscriptions. For example, if an Observable fails at first but emits [1, 2] then succeeds the second
time and emits: [1, 2, 3, 4, 5] then the complete stream of emissions and notifications
would be: [1, 2, 1, 2, 3, 4, 5,
Parameters :
|
| retry | ||||||||
retry(count: number)
|
||||||||
|
Returns an Observable that mirrors the source Observable with the exception of an
Any and all items emitted by the source Observable will be emitted by the resulting Observable, even those emitted
during failed subscriptions. For example, if an Observable fails at first but emits [1, 2] then succeeds the second
time and emits: [1, 2, 3, 4, 5] then the complete stream of emissions and notifications
would be: [1, 2, 1, 2, 3, 4, 5,
Parameters :
|
| retry | ||||||||
retry(count: number)
|
||||||||
|
Returns an Observable that mirrors the source Observable with the exception of an
Any and all items emitted by the source Observable will be emitted by the resulting Observable, even those emitted
during failed subscriptions. For example, if an Observable fails at first but emits [1, 2] then succeeds the second
time and emits: [1, 2, 3, 4, 5] then the complete stream of emissions and notifications
would be: [1, 2, 1, 2, 3, 4, 5,
Parameters :
|
| retryWhen | ||||||||
retryWhen(notifier: undefined)
|
||||||||
|
Returns an Observable that mirrors the source Observable with the exception of an
Parameters :
|
| retryWhen | ||||||||||||
retryWhen(this: typeReference, notifier: undefined)
|
||||||||||||
|
Returns an Observable that mirrors the source Observable with the exception of an
Parameters :
|
| retryWhen | ||||||||||||
retryWhen(this: typeReference, notifier: undefined)
|
||||||||||||
|
Returns an Observable that mirrors the source Observable with the exception of an
Parameters :
|
| retryWhen | ||||||||
retryWhen(notifier: undefined)
|
||||||||
|
Returns an Observable that mirrors the source Observable with the exception of an
Parameters :
|
| runTestsForNewLineChar | ||||||||
runTestsForNewLineChar(opts: undefined)
|
||||||||
|
Parameters :
|
| runTestsForNewLineChar | ||||||||
runTestsForNewLineChar(opts: undefined)
|
||||||||
|
Parameters :
|
| sample | ||||||||||||
sample(this: typeReference, notifier: typeReference)
|
||||||||||||
|
Emits the most recently emitted value from the source Observable whenever
another Observable, the It's like {@link sampleTime}, but samples whenever
the
Whenever the
Parameters :
Example :
On every click, sample the most recent "seconds" timer var seconds = Rx.Observable.interval(1000); var clicks = Rx.Observable.fromEvent(document, 'click'); var result = seconds.sample(clicks); result.subscribe(x => console.log(x)); |
| sample | ||||||||
sample(notifier: typeReference)
|
||||||||
|
Emits the most recently emitted value from the source Observable whenever
another Observable, the It's like {@link sampleTime}, but samples whenever
the
Whenever the
Parameters :
Example :
On every click, sample the most recent "seconds" timer var seconds = Rx.Observable.interval(1000); var clicks = Rx.Observable.fromEvent(document, 'click'); var result = seconds.sample(clicks); result.subscribe(x => console.log(x)); |
| sample | ||||||||||||
sample(this: typeReference, notifier: typeReference)
|
||||||||||||
|
Emits the most recently emitted value from the source Observable whenever
another Observable, the It's like {@link sampleTime}, but samples whenever
the
Whenever the
Parameters :
Example :
On every click, sample the most recent "seconds" timer var seconds = Rx.Observable.interval(1000); var clicks = Rx.Observable.fromEvent(document, 'click'); var result = seconds.sample(clicks); result.subscribe(x => console.log(x)); |
| sample | ||||||||
sample(notifier: typeReference)
|
||||||||
|
Emits the most recently emitted value from the source Observable whenever
another Observable, the It's like {@link sampleTime}, but samples whenever
the
Whenever the
Parameters :
Example :
On every click, sample the most recent "seconds" timer var seconds = Rx.Observable.interval(1000); var clicks = Rx.Observable.fromEvent(document, 'click'); var result = seconds.sample(clicks); result.subscribe(x => console.log(x)); |
| sampleTime | ||||||||||||||||
sampleTime(this: typeReference, period: number, scheduler: typeReference)
|
||||||||||||||||
|
Emits the most recently emitted value from the source Observable within periodic time intervals. Samples the source Observable at periodic time intervals, emitting what it samples.
Parameters :
Example :
Every second, emit the most recent click at most once var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.sampleTime(1000); result.subscribe(x => console.log(x)); |
| sampleTime | ||||||||||||||||
sampleTime(this: typeReference, period: number, scheduler: typeReference)
|
||||||||||||||||
|
Emits the most recently emitted value from the source Observable within periodic time intervals. Samples the source Observable at periodic time intervals, emitting what it samples.
Parameters :
Example :
Every second, emit the most recent click at most once var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.sampleTime(1000); result.subscribe(x => console.log(x)); |
| scan | ||||||||||||
scan(accumulator: undefined, seed?: typeReference)
|
||||||||||||
|
Parameters :
|
| scan | ||||||||||||
scan(accumulator: undefined, seed?: undefined)
|
||||||||||||
|
Applies an accumulator function over the source Observable, and returns each intermediate result, with an optional seed value. It's like {@link reduce}, but emits the current accumulation whenever the source emits a value.
Combines together all values emitted on the source, using an accumulator function that knows how to join a new source value into the accumulation from the past. Is similar to {@link reduce}, but emits the intermediate accumulations. Returns an Observable that applies a specified
Parameters :
Example :
Count the number of click events var clicks = Rx.Observable.fromEvent(document, 'click'); var ones = clicks.mapTo(1); var seed = 0; var count = ones.scan((acc, one) => acc + one, seed); count.subscribe(x => console.log(x)); |
| scan | ||||||||||||
scan(accumulator: undefined, seed?: undefined)
|
||||||||||||
|
Parameters :
|
| scan | ||||||||||||
scan(accumulator: undefined, seed?: typeReference)
|
||||||||||||
|
Parameters :
|
| scan | ||||||||||||
scan(accumulator: undefined, seed?: undefined)
|
||||||||||||
|
Applies an accumulator function over the source Observable, and returns each intermediate result, with an optional seed value. It's like {@link reduce}, but emits the current accumulation whenever the source emits a value.
Combines together all values emitted on the source, using an accumulator function that knows how to join a new source value into the accumulation from the past. Is similar to {@link reduce}, but emits the intermediate accumulations. Returns an Observable that applies a specified
Parameters :
Example :
Count the number of click events var clicks = Rx.Observable.fromEvent(document, 'click'); var ones = clicks.mapTo(1); var seed = 0; var count = ones.scan((acc, one) => acc + one, seed); count.subscribe(x => console.log(x)); |
| scan | ||||||||||||
scan(accumulator: undefined, seed?: typeReference)
|
||||||||||||
|
Parameters :
|
| scan | ||||||||||||
scan(accumulator: undefined, seed?: undefined)
|
||||||||||||
|
Parameters :
|
| scan | ||||||||||||
scan(accumulator: undefined, seed?: typeReference)
|
||||||||||||
|
Parameters :
|
| scan | ||||||||||||||||
scan(this: typeReference, accumulator: undefined, seed?: undefined)
|
||||||||||||||||
|
Applies an accumulator function over the source Observable, and returns each intermediate result, with an optional seed value. It's like {@link reduce}, but emits the current accumulation whenever the source emits a value.
Combines together all values emitted on the source, using an accumulator function that knows how to join a new source value into the accumulation from the past. Is similar to {@link reduce}, but emits the intermediate accumulations. Returns an Observable that applies a specified
Parameters :
Example :
Count the number of click events var clicks = Rx.Observable.fromEvent(document, 'click'); var ones = clicks.mapTo(1); var seed = 0; var count = ones.scan((acc, one) => acc + one, seed); count.subscribe(x => console.log(x)); |
| scan | ||||||||||||||||
scan(this: typeReference, accumulator: undefined, seed?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| scan | ||||||||||||||||
scan(this: typeReference, accumulator: undefined, seed?: undefined)
|
||||||||||||||||
|
Parameters :
|
| scan | ||||||||||||||||
scan(this: typeReference, accumulator: undefined, seed?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| scan | ||||||||||||||||
scan(this: typeReference, accumulator: undefined, seed?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| scan | ||||||||||||||||
scan(this: typeReference, accumulator: undefined, seed?: undefined)
|
||||||||||||||||
|
Applies an accumulator function over the source Observable, and returns each intermediate result, with an optional seed value. It's like {@link reduce}, but emits the current accumulation whenever the source emits a value.
Combines together all values emitted on the source, using an accumulator function that knows how to join a new source value into the accumulation from the past. Is similar to {@link reduce}, but emits the intermediate accumulations. Returns an Observable that applies a specified
Parameters :
Example :
Count the number of click events var clicks = Rx.Observable.fromEvent(document, 'click'); var ones = clicks.mapTo(1); var seed = 0; var count = ones.scan((acc, one) => acc + one, seed); count.subscribe(x => console.log(x)); |
| scan | ||||||||||||||||
scan(this: typeReference, accumulator: undefined, seed?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| scan | ||||||||||||||||
scan(this: typeReference, accumulator: undefined, seed?: undefined)
|
||||||||||||||||
|
Parameters :
|
| sequenceEqual | ||||||||||||
sequenceEqual(compareTo: typeReference, comparor?: undefined)
|
||||||||||||
|
Compares all values of two observables in sequence using an optional comparor function and returns an observable of a single boolean value representing whether or not the two sequences are equal. Checks to see of all values emitted by both observables are equal, in order.
Parameters :
Example :
figure out if the Konami code matches var code = Rx.Observable.from([ "ArrowUp", "ArrowUp", "ArrowDown", "ArrowDown", "ArrowLeft", "ArrowRight", "ArrowLeft", "ArrowRight", "KeyB", "KeyA", "Enter" // no start key, clearly. ]); var keys = Rx.Observable.fromEvent(document, 'keyup') .map(e => e.code); var matches = keys.bufferCount(11, 1) .mergeMap( last11 => Rx.Observable.from(last11) .sequenceEqual(code) ); matches.subscribe(matched => console.log('Successful cheat at Contra? ', matched)); |
| sequenceEqual | ||||||||||||
sequenceEqual(compareTo: typeReference, comparor?: undefined)
|
||||||||||||
|
Compares all values of two observables in sequence using an optional comparor function and returns an observable of a single boolean value representing whether or not the two sequences are equal. Checks to see of all values emitted by both observables are equal, in order.
Parameters :
Example :
figure out if the Konami code matches var code = Rx.Observable.from([ "ArrowUp", "ArrowUp", "ArrowDown", "ArrowDown", "ArrowLeft", "ArrowRight", "ArrowLeft", "ArrowRight", "KeyB", "KeyA", "Enter" // no start key, clearly. ]); var keys = Rx.Observable.fromEvent(document, 'keyup') .map(e => e.code); var matches = keys.bufferCount(11, 1) .mergeMap( last11 => Rx.Observable.from(last11) .sequenceEqual(code) ); matches.subscribe(matched => console.log('Successful cheat at Contra? ', matched)); |
| sequenceEqual | ||||||||||||||||
sequenceEqual(this: typeReference, compareTo: typeReference, comparor?: undefined)
|
||||||||||||||||
|
Compares all values of two observables in sequence using an optional comparor function and returns an observable of a single boolean value representing whether or not the two sequences are equal. Checks to see of all values emitted by both observables are equal, in order.
Parameters :
Example :
figure out if the Konami code matches var code = Rx.Observable.from([ "ArrowUp", "ArrowUp", "ArrowDown", "ArrowDown", "ArrowLeft", "ArrowRight", "ArrowLeft", "ArrowRight", "KeyB", "KeyA", "Enter" // no start key, clearly. ]); var keys = Rx.Observable.fromEvent(document, 'keyup') .map(e => e.code); var matches = keys.bufferCount(11, 1) .mergeMap( last11 => Rx.Observable.from(last11) .sequenceEqual(code) ); matches.subscribe(matched => console.log('Successful cheat at Contra? ', matched)); |
| sequenceEqual | ||||||||||||||||
sequenceEqual(this: typeReference, compareTo: typeReference, comparor?: undefined)
|
||||||||||||||||
|
Compares all values of two observables in sequence using an optional comparor function and returns an observable of a single boolean value representing whether or not the two sequences are equal. Checks to see of all values emitted by both observables are equal, in order.
Parameters :
Example :
figure out if the Konami code matches var code = Rx.Observable.from([ "ArrowUp", "ArrowUp", "ArrowDown", "ArrowDown", "ArrowLeft", "ArrowRight", "ArrowLeft", "ArrowRight", "KeyB", "KeyA", "Enter" // no start key, clearly. ]); var keys = Rx.Observable.fromEvent(document, 'keyup') .map(e => e.code); var matches = keys.bufferCount(11, 1) .mergeMap( last11 => Rx.Observable.from(last11) .sequenceEqual(code) ); matches.subscribe(matched => console.log('Successful cheat at Contra? ', matched)); |
| share | ||||||||
share(this: typeReference)
|
||||||||
|
Returns a new Observable that multicasts (shares) the original Observable. As long as there is at least one
Subscriber this Observable will be subscribed and emitting data. When all subscribers have unsubscribed it will
unsubscribe from the source Observable. Because the Observable is multicasting it makes the stream This behaves similarly to .publish().refCount(), with a behavior difference when the source observable emits complete. .publish().refCount() will not resubscribe to the original source, however .share() will resubscribe to the original source. Observable.of("test").publish().refCount() will not re-emit "test" on new subscriptions, Observable.of("test").share() will re-emit "test" to new subscriptions.
Parameters :
|
| share | ||||||||
share(this: typeReference)
|
||||||||
|
Returns a new Observable that multicasts (shares) the original Observable. As long as there is at least one
Subscriber this Observable will be subscribed and emitting data. When all subscribers have unsubscribed it will
unsubscribe from the source Observable. Because the Observable is multicasting it makes the stream This behaves similarly to .publish().refCount(), with a behavior difference when the source observable emits complete. .publish().refCount() will not resubscribe to the original source, however .share() will resubscribe to the original source. Observable.of("test").publish().refCount() will not re-emit "test" on new subscriptions, Observable.of("test").share() will re-emit "test" to new subscriptions.
Parameters :
|
| share |
share()
|
| shareSubjectFactory |
shareSubjectFactory()
|
| share |
share()
|
| shareSubjectFactory |
shareSubjectFactory()
|
| shareReplay | ||||||||||||||||
shareReplay(bufferSize?: number, windowTime?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| shareReplayOperator | ||||||||||||||||
shareReplayOperator(bufferSize?: number, windowTime?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| shareReplay | ||||||||||||||||||||
shareReplay(this: typeReference, bufferSize?: number, windowTime?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| shareReplay | ||||||||||||||||
shareReplay(bufferSize?: number, windowTime?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| shareReplayOperator | ||||||||||||||||
shareReplayOperator(bufferSize?: number, windowTime?: number, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| shareReplay | ||||||||||||||||||||
shareReplay(this: typeReference, bufferSize?: number, windowTime?: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| single | ||||||||
single(predicate?: undefined)
|
||||||||
|
Returns an Observable that emits the single item emitted by the source Observable that matches a specified predicate, if that Observable emits one such item. If the source Observable emits more than one such item or no such items, notify of an IllegalArgumentException or NoSuchElementException respectively.
Parameters :
|
| single | ||||||||
single(predicate?: undefined)
|
||||||||
|
Returns an Observable that emits the single item emitted by the source Observable that matches a specified predicate, if that Observable emits one such item. If the source Observable emits more than one such item or no such items, notify of an IllegalArgumentException or NoSuchElementException respectively.
Parameters :
|
| single | ||||||||||||
single(this: typeReference, predicate?: undefined)
|
||||||||||||
|
Returns an Observable that emits the single item emitted by the source Observable that matches a specified predicate, if that Observable emits one such item. If the source Observable emits more than one such item or no such items, notify of an IllegalArgumentException or NoSuchElementException respectively.
Parameters :
|
| single | ||||||||||||
single(this: typeReference, predicate?: undefined)
|
||||||||||||
|
Returns an Observable that emits the single item emitted by the source Observable that matches a specified predicate, if that Observable emits one such item. If the source Observable emits more than one such item or no such items, notify of an IllegalArgumentException or NoSuchElementException respectively.
Parameters :
|
| skip | ||||||||||||
skip(this: typeReference, count: number)
|
||||||||||||
|
Returns an Observable that skips the first
Parameters :
|
| skip | ||||||||
skip(count: number)
|
||||||||
|
Returns an Observable that skips the first
Parameters :
|
| skip | ||||||||
skip(count: number)
|
||||||||
|
Returns an Observable that skips the first
Parameters :
|
| skip | ||||||||||||
skip(this: typeReference, count: number)
|
||||||||||||
|
Returns an Observable that skips the first
Parameters :
|
| skipLast | ||||||||||||
skipLast(this: typeReference, count: number)
|
||||||||||||
|
Skip the last
Parameters :
Example :
Skip the last 2 values of an Observable with many values var many = Rx.Observable.range(1, 5); var skipLastTwo = many.skipLast(2); skipLastTwo.subscribe(x => console.log(x)); // Results in: // 1 2 3 |
| skipLast | ||||||||
skipLast(count: number)
|
||||||||
|
Skip the last
Parameters :
Example :
Skip the last 2 values of an Observable with many values var many = Rx.Observable.range(1, 5); var skipLastTwo = many.skipLast(2); skipLastTwo.subscribe(x => console.log(x)); // Results in: // 1 2 3 |
| skipLast | ||||||||||||
skipLast(this: typeReference, count: number)
|
||||||||||||
|
Skip the last
Parameters :
Example :
Skip the last 2 values of an Observable with many values var many = Rx.Observable.range(1, 5); var skipLastTwo = many.skipLast(2); skipLastTwo.subscribe(x => console.log(x)); // Results in: // 1 2 3 |
| skipLast | ||||||||
skipLast(count: number)
|
||||||||
|
Skip the last
Parameters :
Example :
Skip the last 2 values of an Observable with many values var many = Rx.Observable.range(1, 5); var skipLastTwo = many.skipLast(2); skipLastTwo.subscribe(x => console.log(x)); // Results in: // 1 2 3 |
| skipUntil | ||||||||||||
skipUntil(this: typeReference, notifier: typeReference)
|
||||||||||||
|
Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item.
Parameters :
|
| skipUntil | ||||||||||||
skipUntil(this: typeReference, notifier: typeReference)
|
||||||||||||
|
Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item.
Parameters :
|
| skipUntil | ||||||||
skipUntil(notifier: typeReference)
|
||||||||
|
Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item.
Parameters :
|
| skipUntil | ||||||||
skipUntil(notifier: typeReference)
|
||||||||
|
Returns an Observable that skips items emitted by the source Observable until a second Observable emits an item.
Parameters :
|
| skipWhile | ||||||||||||
skipWhile(this: typeReference, predicate: undefined)
|
||||||||||||
|
Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds true, but emits all further source items as soon as the condition becomes false.
Parameters :
|
| skipWhile | ||||||||||||
skipWhile(this: typeReference, predicate: undefined)
|
||||||||||||
|
Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds true, but emits all further source items as soon as the condition becomes false.
Parameters :
|
| skipWhile | ||||||||
skipWhile(predicate: undefined)
|
||||||||
|
Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds true, but emits all further source items as soon as the condition becomes false.
Parameters :
|
| skipWhile | ||||||||
skipWhile(predicate: undefined)
|
||||||||
|
Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds true, but emits all further source items as soon as the condition becomes false.
Parameters :
|
| startWith | ||||||||||||||||
startWith(v1: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||
startWith(v1: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||
startWith(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||||||
startWith(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||||||||||
startWith(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||
startWith(v1: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| startWith | ||||||||
startWith(array: typeReference)
|
||||||||
|
Parameters :
|
| startWith | ||||||||
startWith(array: typeReference)
|
||||||||
|
Returns an Observable that emits the items you specify as arguments before it begins to emit items emitted by the source Observable.
Parameters :
|
| startWith | ||||||||||||||||
startWith(this: typeReference, v1: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||||||||||
startWith(this: typeReference, v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||||||
startWith(this: typeReference, v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||
startWith(this: typeReference, v1: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||
startWith(this: typeReference, v1: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||
startWith(this: typeReference, array: typeReference)
|
||||||||||||
|
Returns an Observable that emits the items you specify as arguments before it begins to emit items emitted by the source Observable.
Parameters :
|
| startWith | ||||||||||||
startWith(this: typeReference, array: typeReference)
|
||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||||||||||||||
startWith(this: typeReference, v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||||||||||
startWith(this: typeReference, v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||||||
startWith(this: typeReference, v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||
startWith(this: typeReference, v1: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||
startWith(this: typeReference, v1: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||
startWith(this: typeReference, v1: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||
startWith(this: typeReference, array: typeReference)
|
||||||||||||
|
Parameters :
|
| startWith | ||||||||||||
startWith(this: typeReference, array: typeReference)
|
||||||||||||
|
Returns an Observable that emits the items you specify as arguments before it begins to emit items emitted by the source Observable.
Parameters :
|
| startWith | ||||||||||||||||||||||||||||||||||||
startWith(this: typeReference, v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||
startWith(array: typeReference)
|
||||||||
|
Returns an Observable that emits the items you specify as arguments before it begins to emit items emitted by the source Observable.
Parameters :
|
| startWith | ||||||||
startWith(array: typeReference)
|
||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||||||||||
startWith(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||||||
startWith(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||||||
startWith(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||||||
startWith(v1: typeReference, v2: typeReference, v3: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||||||
startWith(v1: typeReference, v2: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| startWith | ||||||||||||
startWith(v1: typeReference, scheduler?: typeReference)
|
||||||||||||
|
Parameters :
|
| subscribeOn | ||||||||||||
subscribeOn(scheduler: typeReference, delay: number)
|
||||||||||||
|
Asynchronously subscribes Observers to this Observable on the specified IScheduler.
Parameters :
|
| subscribeOn | ||||||||||||||||
subscribeOn(this: typeReference, scheduler: typeReference, delay: number)
|
||||||||||||||||
|
Asynchronously subscribes Observers to this Observable on the specified IScheduler.
Parameters :
|
| subscribeOn | ||||||||||||
subscribeOn(scheduler: typeReference, delay: number)
|
||||||||||||
|
Asynchronously subscribes Observers to this Observable on the specified IScheduler.
Parameters :
|
| subscribeOn | ||||||||||||||||
subscribeOn(this: typeReference, scheduler: typeReference, delay: number)
|
||||||||||||||||
|
Asynchronously subscribes Observers to this Observable on the specified IScheduler.
Parameters :
|
| subscribeToResult | ||||||||||||||||||||
subscribeToResult(outerSubscriber: typeReference, result: typeReference, outerValue?: typeReference, outerIndex?: number)
|
||||||||||||||||||||
|
Parameters :
|
| subscribeToResult | ||||||||||||||||||||
subscribeToResult(outerSubscriber: typeReference, result: any, outerValue?: typeReference, outerIndex?: number)
|
||||||||||||||||||||
|
Parameters :
|
| subscribeToResult | ||||||||||||||||||||
subscribeToResult(outerSubscriber: typeReference, result: any, outerValue?: typeReference, outerIndex?: number)
|
||||||||||||||||||||
|
Parameters :
|
| subscribeToResult | ||||||||||||||||||||
subscribeToResult(outerSubscriber: typeReference, result: typeReference, outerValue?: typeReference, outerIndex?: number)
|
||||||||||||||||||||
|
Parameters :
|
| switchAll |
switchAll()
|
| switchAll |
switchAll()
|
| switchMap | ||||||||||||
switchMap(project: undefined, resultSelector: undefined)
|
||||||||||||
|
Parameters :
|
| switchMap | ||||||||
switchMap(project: undefined)
|
||||||||
|
Parameters :
|
| switchMap | ||||||||||||
switchMap(project: undefined, resultSelector?: undefined)
|
||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable, emitting values only from the most recently projected Observable. Maps each value to an Observable, then flattens all of these inner Observables using {@link switch}.
Returns an Observable that emits items based on applying a function that you
supply to each item emitted by the source Observable, where that function
returns an (so-called "inner") Observable. Each time it observes one of these
inner Observables, the output Observable begins emitting the items emitted by
that inner Observable. When a new inner Observable is emitted,
Parameters :
Example :
Rerun an interval Observable on every click event var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.switchMap((ev) => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| switchMap | ||||||||||||
switchMap(this: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| switchMap | ||||||||||||||||
switchMap(this: typeReference, project: undefined, resultSelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| switchMap | ||||||||||||||||
switchMap(this: typeReference, project: undefined, resultSelector?: undefined)
|
||||||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable, emitting values only from the most recently projected Observable. Maps each value to an Observable, then flattens all of these inner Observables using {@link switch}.
Returns an Observable that emits items based on applying a function that you
supply to each item emitted by the source Observable, where that function
returns an (so-called "inner") Observable. Each time it observes one of these
inner Observables, the output Observable begins emitting the items emitted by
that inner Observable. When a new inner Observable is emitted,
Parameters :
Example :
Rerun an interval Observable on every click event var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.switchMap((ev) => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| switchMap | ||||||||||||
switchMap(this: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| switchMap | ||||||||||||||||
switchMap(this: typeReference, project: undefined, resultSelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| switchMap | ||||||||||||||||
switchMap(this: typeReference, project: undefined, resultSelector?: undefined)
|
||||||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable, emitting values only from the most recently projected Observable. Maps each value to an Observable, then flattens all of these inner Observables using {@link switch}.
Returns an Observable that emits items based on applying a function that you
supply to each item emitted by the source Observable, where that function
returns an (so-called "inner") Observable. Each time it observes one of these
inner Observables, the output Observable begins emitting the items emitted by
that inner Observable. When a new inner Observable is emitted,
Parameters :
Example :
Rerun an interval Observable on every click event var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.switchMap((ev) => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| switchMap | ||||||||||||
switchMap(project: undefined, resultSelector?: undefined)
|
||||||||||||
|
Projects each source value to an Observable which is merged in the output Observable, emitting values only from the most recently projected Observable. Maps each value to an Observable, then flattens all of these inner Observables using {@link switch}.
Returns an Observable that emits items based on applying a function that you
supply to each item emitted by the source Observable, where that function
returns an (so-called "inner") Observable. Each time it observes one of these
inner Observables, the output Observable begins emitting the items emitted by
that inner Observable. When a new inner Observable is emitted,
Parameters :
Example :
Rerun an interval Observable on every click event var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.switchMap((ev) => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| switchMap | ||||||||||||
switchMap(project: undefined, resultSelector: undefined)
|
||||||||||||
|
Parameters :
|
| switchMap | ||||||||
switchMap(project: undefined)
|
||||||||
|
Parameters :
|
| switchMapTo | ||||||||||||
switchMapTo(innerObservable: typeReference, resultSelector?: undefined)
|
||||||||||||
|
Projects each source value to the same Observable which is flattened multiple times with {@link switch} in the output Observable. It's like {@link switchMap}, but maps each value always to the same inner Observable.
Maps each source value to the given Observable
Parameters :
Example :
Rerun an interval Observable on every click event var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.switchMapTo(Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| switchMapTo | ||||||||
switchMapTo(observable: typeReference)
|
||||||||
|
Parameters :
|
| switchMapTo | ||||||||||||
switchMapTo(observable: typeReference, resultSelector: undefined)
|
||||||||||||
|
Parameters :
|
| switchMapTo | ||||||||||||
switchMapTo(innerObservable: typeReference, resultSelector?: undefined)
|
||||||||||||
|
Projects each source value to the same Observable which is flattened multiple times with {@link switch} in the output Observable. It's like {@link switchMap}, but maps each value always to the same inner Observable.
Maps each source value to the given Observable
Parameters :
Example :
Rerun an interval Observable on every click event var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.switchMapTo(Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| switchMapTo | ||||||||||||
switchMapTo(observable: typeReference, resultSelector: undefined)
|
||||||||||||
|
Parameters :
|
| switchMapTo | ||||||||
switchMapTo(observable: typeReference)
|
||||||||
|
Parameters :
|
| switchMapTo | ||||||||||||||||
switchMapTo(this: typeReference, observable: typeReference, resultSelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| switchMapTo | ||||||||||||||||
switchMapTo(this: typeReference, innerObservable: typeReference, resultSelector?: undefined)
|
||||||||||||||||
|
Projects each source value to the same Observable which is flattened multiple times with {@link switch} in the output Observable. It's like {@link switchMap}, but maps each value always to the same inner Observable.
Maps each source value to the given Observable
Parameters :
Example :
Rerun an interval Observable on every click event var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.switchMapTo(Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| switchMapTo | ||||||||||||
switchMapTo(this: typeReference, observable: typeReference)
|
||||||||||||
|
Parameters :
|
| switchMapTo | ||||||||||||
switchMapTo(this: typeReference, observable: typeReference)
|
||||||||||||
|
Parameters :
|
| switchMapTo | ||||||||||||||||
switchMapTo(this: typeReference, observable: typeReference, resultSelector: undefined)
|
||||||||||||||||
|
Parameters :
|
| switchMapTo | ||||||||||||||||
switchMapTo(this: typeReference, innerObservable: typeReference, resultSelector?: undefined)
|
||||||||||||||||
|
Projects each source value to the same Observable which is flattened multiple times with {@link switch} in the output Observable. It's like {@link switchMap}, but maps each value always to the same inner Observable.
Maps each source value to the given Observable
Parameters :
Example :
Rerun an interval Observable on every click event var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.switchMapTo(Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| symbolIteratorPonyfill | ||||||||
symbolIteratorPonyfill(root: any)
|
||||||||
|
Parameters :
|
| symbolIteratorPonyfill | ||||||||
symbolIteratorPonyfill(root: any)
|
||||||||
|
Parameters :
|
| take | ||||||||
take(count: number)
|
||||||||
|
Emits only the first Takes the first
Parameters :
Example :
Take the first 5 seconds of an infinite 1-second interval Observable var interval = Rx.Observable.interval(1000); var five = interval.take(5); five.subscribe(x => console.log(x)); |
| take | ||||||||||||
take(this: typeReference, count: number)
|
||||||||||||
|
Emits only the first Takes the first
Parameters :
Example :
Take the first 5 seconds of an infinite 1-second interval Observable var interval = Rx.Observable.interval(1000); var five = interval.take(5); five.subscribe(x => console.log(x)); |
| take | ||||||||||||
take(this: typeReference, count: number)
|
||||||||||||
|
Emits only the first Takes the first
Parameters :
Example :
Take the first 5 seconds of an infinite 1-second interval Observable var interval = Rx.Observable.interval(1000); var five = interval.take(5); five.subscribe(x => console.log(x)); |
| take | ||||||||
take(count: number)
|
||||||||
|
Emits only the first Takes the first
Parameters :
Example :
Take the first 5 seconds of an infinite 1-second interval Observable var interval = Rx.Observable.interval(1000); var five = interval.take(5); five.subscribe(x => console.log(x)); |
| takeLast | ||||||||
takeLast(count: number)
|
||||||||
|
Emits only the last Remembers the latest
Parameters :
Example :
Take the last 3 values of an Observable with many values var many = Rx.Observable.range(1, 100); var lastThree = many.takeLast(3); lastThree.subscribe(x => console.log(x)); |
| takeLast | ||||||||||||
takeLast(this: typeReference, count: number)
|
||||||||||||
|
Emits only the last Remembers the latest
Parameters :
Example :
Take the last 3 values of an Observable with many values var many = Rx.Observable.range(1, 100); var lastThree = many.takeLast(3); lastThree.subscribe(x => console.log(x)); |
| takeLast | ||||||||
takeLast(count: number)
|
||||||||
|
Emits only the last Remembers the latest
Parameters :
Example :
Take the last 3 values of an Observable with many values var many = Rx.Observable.range(1, 100); var lastThree = many.takeLast(3); lastThree.subscribe(x => console.log(x)); |
| takeLast | ||||||||||||
takeLast(this: typeReference, count: number)
|
||||||||||||
|
Emits only the last Remembers the latest
Parameters :
Example :
Take the last 3 values of an Observable with many values var many = Rx.Observable.range(1, 100); var lastThree = many.takeLast(3); lastThree.subscribe(x => console.log(x)); |
| takeUntil | ||||||||
takeUntil(notifier: typeReference)
|
||||||||
|
Emits the values emitted by the source Observable until a Lets values pass until a second Observable,
Parameters :
Example :
Tick every second until the first click happens var interval = Rx.Observable.interval(1000); var clicks = Rx.Observable.fromEvent(document, 'click'); var result = interval.takeUntil(clicks); result.subscribe(x => console.log(x)); |
| takeUntil | ||||||||||||
takeUntil(this: typeReference, notifier: typeReference)
|
||||||||||||
|
Emits the values emitted by the source Observable until a Lets values pass until a second Observable,
Parameters :
Example :
Tick every second until the first click happens var interval = Rx.Observable.interval(1000); var clicks = Rx.Observable.fromEvent(document, 'click'); var result = interval.takeUntil(clicks); result.subscribe(x => console.log(x)); |
| takeUntil | ||||||||
takeUntil(notifier: typeReference)
|
||||||||
|
Emits the values emitted by the source Observable until a Lets values pass until a second Observable,
Parameters :
Example :
Tick every second until the first click happens var interval = Rx.Observable.interval(1000); var clicks = Rx.Observable.fromEvent(document, 'click'); var result = interval.takeUntil(clicks); result.subscribe(x => console.log(x)); |
| takeUntil | ||||||||||||
takeUntil(this: typeReference, notifier: typeReference)
|
||||||||||||
|
Emits the values emitted by the source Observable until a Lets values pass until a second Observable,
Parameters :
Example :
Tick every second until the first click happens var interval = Rx.Observable.interval(1000); var clicks = Rx.Observable.fromEvent(document, 'click'); var result = interval.takeUntil(clicks); result.subscribe(x => console.log(x)); |
| takeWhile | ||||||||
takeWhile(predicate: undefined)
|
||||||||
|
Emits values emitted by the source Observable so long as each value satisfies
the given Takes values from the source only while they pass the condition given. When the first value does not satisfy, it completes.
Parameters :
Example :
Emit click events only while the clientX property is greater than 200 var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.takeWhile(ev => ev.clientX > 200); result.subscribe(x => console.log(x)); |
| takeWhile | ||||||||
takeWhile(predicate: undefined)
|
||||||||
|
Emits values emitted by the source Observable so long as each value satisfies
the given Takes values from the source only while they pass the condition given. When the first value does not satisfy, it completes.
Parameters :
Example :
Emit click events only while the clientX property is greater than 200 var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.takeWhile(ev => ev.clientX > 200); result.subscribe(x => console.log(x)); |
| takeWhile | ||||||||||||
takeWhile(this: typeReference, predicate: undefined)
|
||||||||||||
|
Emits values emitted by the source Observable so long as each value satisfies
the given Takes values from the source only while they pass the condition given. When the first value does not satisfy, it completes.
Parameters :
Example :
Emit click events only while the clientX property is greater than 200 var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.takeWhile(ev => ev.clientX > 200); result.subscribe(x => console.log(x)); |
| takeWhile | ||||||||||||
takeWhile(this: typeReference, predicate: undefined)
|
||||||||||||
|
Emits values emitted by the source Observable so long as each value satisfies
the given Takes values from the source only while they pass the condition given. When the first value does not satisfy, it completes.
Parameters :
Example :
Emit click events only while the clientX property is greater than 200 var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.takeWhile(ev => ev.clientX > 200); result.subscribe(x => console.log(x)); |
| tap | ||||||||||||||||
tap(next: undefined, error?: undefined, complete?: undefined)
|
||||||||||||||||
|
Parameters :
|
| tap | ||||||||||||||||
tap(nextOrObserver?: undefined, error?: undefined, complete?: undefined)
|
||||||||||||||||
|
Perform a side effect for every emission on the source Observable, but return an Observable that is identical to the source. Intercepts each emission on the source and runs a function, but returns an output which is identical to the source as long as errors don't occur.
Returns a mirrored Observable of the source Observable, but modified so that the provided Observer is called to perform a side effect for every value, error, and completion emitted by the source. Any errors that are thrown in the aforementioned Observer or handlers are safely sent down the error path of the output Observable. This operator is useful for debugging your Observables for the correct values or performing other side effects. Note: this is different to a
Parameters :
Example :
Map every click to the clientX position of that click, while also logging the click event var clicks = Rx.Observable.fromEvent(document, 'click'); var positions = clicks .do(ev => console.log(ev)) .map(ev => ev.clientX); positions.subscribe(x => console.log(x)); |
| tap | ||||||||
tap(observer: typeReference)
|
||||||||
|
Parameters :
|
| tap | ||||||||||||||||
tap(nextOrObserver?: undefined, error?: undefined, complete?: undefined)
|
||||||||||||||||
|
Perform a side effect for every emission on the source Observable, but return an Observable that is identical to the source. Intercepts each emission on the source and runs a function, but returns an output which is identical to the source as long as errors don't occur.
Returns a mirrored Observable of the source Observable, but modified so that the provided Observer is called to perform a side effect for every value, error, and completion emitted by the source. Any errors that are thrown in the aforementioned Observer or handlers are safely sent down the error path of the output Observable. This operator is useful for debugging your Observables for the correct values or performing other side effects. Note: this is different to a
Parameters :
Example :
Map every click to the clientX position of that click, while also logging the click event var clicks = Rx.Observable.fromEvent(document, 'click'); var positions = clicks .do(ev => console.log(ev)) .map(ev => ev.clientX); positions.subscribe(x => console.log(x)); |
| tap | ||||||||
tap(observer: typeReference)
|
||||||||
|
Parameters :
|
| tap | ||||||||||||||||
tap(next: undefined, error?: undefined, complete?: undefined)
|
||||||||||||||||
|
Parameters :
|
| testControlled |
testControlled()
|
| testPausable |
testPausable()
|
| testControlled |
testControlled()
|
| testPausable |
testPausable()
|
| throttle | ||||||||||||||||
throttle(this: typeReference, durationSelector: undefined, config: typeReference)
|
||||||||||||||||
|
Emits a value from the source Observable, then ignores subsequent source values for a duration determined by another Observable, then repeats this process. It's like {@link throttleTime}, but the silencing duration is determined by a second Observable.
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.throttle(ev => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| throttle | ||||||||||||
throttle(durationSelector: undefined, config: typeReference)
|
||||||||||||
|
Emits a value from the source Observable, then ignores subsequent source values for a duration determined by another Observable, then repeats this process. It's like {@link throttleTime}, but the silencing duration is determined by a second Observable.
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.throttle(ev => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| throttle | ||||||||||||||||
throttle(this: typeReference, durationSelector: undefined, config: typeReference)
|
||||||||||||||||
|
Emits a value from the source Observable, then ignores subsequent source values for a duration determined by another Observable, then repeats this process. It's like {@link throttleTime}, but the silencing duration is determined by a second Observable.
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.throttle(ev => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| throttle | ||||||||||||
throttle(durationSelector: undefined, config: typeReference)
|
||||||||||||
|
Emits a value from the source Observable, then ignores subsequent source values for a duration determined by another Observable, then repeats this process. It's like {@link throttleTime}, but the silencing duration is determined by a second Observable.
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.throttle(ev => Rx.Observable.interval(1000)); result.subscribe(x => console.log(x)); |
| throttleTime | ||||||||||||||||||||
throttleTime(this: typeReference, duration: number, scheduler: typeReference, config: typeReference)
|
||||||||||||||||||||
|
Emits a value from the source Observable, then ignores subsequent source
values for Lets a value pass, then ignores source values for the
next
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.throttleTime(1000); result.subscribe(x => console.log(x)); |
| throttleTime | ||||||||||||||||||||
throttleTime(this: typeReference, duration: number, scheduler: typeReference, config: typeReference)
|
||||||||||||||||||||
|
Emits a value from the source Observable, then ignores subsequent source
values for Lets a value pass, then ignores source values for the
next
Parameters :
Example :
Emit clicks at a rate of at most one click per second var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.throttleTime(1000); result.subscribe(x => console.log(x)); |
| timeInterval | ||||||||||||
timeInterval(this: typeReference, scheduler: typeReference)
|
||||||||||||
|
Parameters :
|
| timeInterval | ||||||||
timeInterval(scheduler: typeReference)
|
||||||||
|
Parameters :
|
| timeInterval | ||||||||||||
timeInterval(this: typeReference, scheduler: typeReference)
|
||||||||||||
|
Parameters :
|
| timeInterval | ||||||||
timeInterval(scheduler: typeReference)
|
||||||||
|
Parameters :
|
| timeout | ||||||||||||
timeout(due: undefined, scheduler: typeReference)
|
||||||||||||
|
Errors if Observable does not emit a value in given time span. Timeouts on Observable that doesn't emit values fast enough.
If number was provided, it returns an Observable that behaves like a source
Observable, unless there is a period of time where there is no value emitted.
So if you provide If provided argument was Date, returned Observable behaves differently. It throws if Observable did not complete before provided Date. This means that periods between emission of particular values do not matter in this case. If Observable did not complete before provided Date, source Observable will be unsubscribed. Other than that, resulting stream behaves just as source Observable.
Parameters :
Example :
Check if ticks are emitted within certain timespan const seconds = Rx.Observable.interval(1000); seconds.timeout(1100) // Let's use bigger timespan to be safe,
// since seconds.timeout(900).subscribe( value => console.log(value), // Will never be called. err => console.log(err) // Will emit error before even first value is emitted, // since it did not arrive within 900ms period. ); Use Date to check if Observable completed const seconds = Rx.Observable.interval(1000); seconds.timeout(new Date("December 17, 2020 03:24:00"))
.subscribe(
value => console.log(value), // Will emit values as regular |
| timeout | ||||||||||||||||
timeout(this: typeReference, due: undefined, scheduler: typeReference)
|
||||||||||||||||
|
Errors if Observable does not emit a value in given time span. Timeouts on Observable that doesn't emit values fast enough.
If number was provided, it returns an Observable that behaves like a source
Observable, unless there is a period of time where there is no value emitted.
So if you provide If provided argument was Date, returned Observable behaves differently. It throws if Observable did not complete before provided Date. This means that periods between emission of particular values do not matter in this case. If Observable did not complete before provided Date, source Observable will be unsubscribed. Other than that, resulting stream behaves just as source Observable.
Parameters :
Example :
Check if ticks are emitted within certain timespan const seconds = Rx.Observable.interval(1000); seconds.timeout(1100) // Let's use bigger timespan to be safe,
// since seconds.timeout(900).subscribe( value => console.log(value), // Will never be called. err => console.log(err) // Will emit error before even first value is emitted, // since it did not arrive within 900ms period. ); Use Date to check if Observable completed const seconds = Rx.Observable.interval(1000); seconds.timeout(new Date("December 17, 2020 03:24:00"))
.subscribe(
value => console.log(value), // Will emit values as regular |
| timeout | ||||||||||||
timeout(due: undefined, scheduler: typeReference)
|
||||||||||||
|
Errors if Observable does not emit a value in given time span. Timeouts on Observable that doesn't emit values fast enough.
If number was provided, it returns an Observable that behaves like a source
Observable, unless there is a period of time where there is no value emitted.
So if you provide If provided argument was Date, returned Observable behaves differently. It throws if Observable did not complete before provided Date. This means that periods between emission of particular values do not matter in this case. If Observable did not complete before provided Date, source Observable will be unsubscribed. Other than that, resulting stream behaves just as source Observable.
Parameters :
Example :
Check if ticks are emitted within certain timespan const seconds = Rx.Observable.interval(1000); seconds.timeout(1100) // Let's use bigger timespan to be safe,
// since seconds.timeout(900).subscribe( value => console.log(value), // Will never be called. err => console.log(err) // Will emit error before even first value is emitted, // since it did not arrive within 900ms period. ); Use Date to check if Observable completed const seconds = Rx.Observable.interval(1000); seconds.timeout(new Date("December 17, 2020 03:24:00"))
.subscribe(
value => console.log(value), // Will emit values as regular |
| timeout | ||||||||||||||||
timeout(this: typeReference, due: undefined, scheduler: typeReference)
|
||||||||||||||||
|
Errors if Observable does not emit a value in given time span. Timeouts on Observable that doesn't emit values fast enough.
If number was provided, it returns an Observable that behaves like a source
Observable, unless there is a period of time where there is no value emitted.
So if you provide If provided argument was Date, returned Observable behaves differently. It throws if Observable did not complete before provided Date. This means that periods between emission of particular values do not matter in this case. If Observable did not complete before provided Date, source Observable will be unsubscribed. Other than that, resulting stream behaves just as source Observable.
Parameters :
Example :
Check if ticks are emitted within certain timespan const seconds = Rx.Observable.interval(1000); seconds.timeout(1100) // Let's use bigger timespan to be safe,
// since seconds.timeout(900).subscribe( value => console.log(value), // Will never be called. err => console.log(err) // Will emit error before even first value is emitted, // since it did not arrive within 900ms period. ); Use Date to check if Observable completed const seconds = Rx.Observable.interval(1000); seconds.timeout(new Date("December 17, 2020 03:24:00"))
.subscribe(
value => console.log(value), // Will emit values as regular |
| timeoutWith | ||||||||||||||||
timeoutWith(due: undefined, withObservable: typeReference, scheduler: typeReference)
|
||||||||||||||||
|
Errors if Observable does not emit a value in given time span, in case of which subscribes to the second Observable. It's a version of
The only difference is that it accepts a second, required parameter. This parameter
should be an Observable which will be subscribed when source Observable fails any timeout check.
So whenever regular Scheduler, which in case of
Parameters :
Example :
Add fallback observable const seconds = Rx.Observable.interval(1000); const minutes = Rx.Observable.interval(60 * 1000); seconds.timeoutWith(900, minutes)
.subscribe(
value => console.log(value), // After 900ms, will start emitting |
| timeoutWith | ||||||||||||||||
timeoutWith(due: undefined, withObservable: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| timeoutWith | ||||||||||||||||
timeoutWith(due: undefined, withObservable: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| timeoutWith | ||||||||||||||||||||
timeoutWith(this: typeReference, due: undefined, withObservable: typeReference, scheduler: typeReference)
|
||||||||||||||||||||
|
Errors if Observable does not emit a value in given time span, in case of which subscribes to the second Observable. It's a version of
The only difference is that it accepts a second, required parameter. This parameter
should be an Observable which will be subscribed when source Observable fails any timeout check.
So whenever regular Scheduler, which in case of
Parameters :
Example :
Add fallback observable const seconds = Rx.Observable.interval(1000); const minutes = Rx.Observable.interval(60 * 1000); seconds.timeoutWith(900, minutes)
.subscribe(
value => console.log(value), // After 900ms, will start emitting |
| timeoutWith | ||||||||||||||||||||
timeoutWith(this: typeReference, due: undefined, withObservable: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| timeoutWith | ||||||||||||||||||||
timeoutWith(this: typeReference, due: undefined, withObservable: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| timeoutWith | ||||||||||||||||||||
timeoutWith(this: typeReference, due: undefined, withObservable: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| timeoutWith | ||||||||||||||||||||
timeoutWith(this: typeReference, due: undefined, withObservable: typeReference, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| timeoutWith | ||||||||||||||||||||
timeoutWith(this: typeReference, due: undefined, withObservable: typeReference, scheduler: typeReference)
|
||||||||||||||||||||
|
Errors if Observable does not emit a value in given time span, in case of which subscribes to the second Observable. It's a version of
The only difference is that it accepts a second, required parameter. This parameter
should be an Observable which will be subscribed when source Observable fails any timeout check.
So whenever regular Scheduler, which in case of
Parameters :
Example :
Add fallback observable const seconds = Rx.Observable.interval(1000); const minutes = Rx.Observable.interval(60 * 1000); seconds.timeoutWith(900, minutes)
.subscribe(
value => console.log(value), // After 900ms, will start emitting |
| timeoutWith | ||||||||||||||||
timeoutWith(due: undefined, withObservable: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| timeoutWith | ||||||||||||||||
timeoutWith(due: undefined, withObservable: typeReference, scheduler?: typeReference)
|
||||||||||||||||
|
Parameters :
|
| timeoutWith | ||||||||||||||||
timeoutWith(due: undefined, withObservable: typeReference, scheduler: typeReference)
|
||||||||||||||||
|
Errors if Observable does not emit a value in given time span, in case of which subscribes to the second Observable. It's a version of
The only difference is that it accepts a second, required parameter. This parameter
should be an Observable which will be subscribed when source Observable fails any timeout check.
So whenever regular Scheduler, which in case of
Parameters :
Example :
Add fallback observable const seconds = Rx.Observable.interval(1000); const minutes = Rx.Observable.interval(60 * 1000); seconds.timeoutWith(900, minutes)
.subscribe(
value => console.log(value), // After 900ms, will start emitting |
| timestamp | ||||||||||||
timestamp(this: typeReference, scheduler: typeReference)
|
||||||||||||
|
Parameters :
|
| timestamp | ||||||||
timestamp(scheduler: typeReference)
|
||||||||
|
Parameters :
|
| timestamp | ||||||||
timestamp(scheduler: typeReference)
|
||||||||
|
Parameters :
|
| timestamp | ||||||||||||
timestamp(this: typeReference, scheduler: typeReference)
|
||||||||||||
|
Parameters :
|
| toArray |
toArray()
|
| toArrayReducer | ||||||||||||||||
toArrayReducer(arr: undefined, item: typeReference, index: number)
|
||||||||||||||||
|
Parameters :
|
| toArray |
toArray()
|
| toArrayReducer | ||||||||||||||||
toArrayReducer(arr: undefined, item: typeReference, index: number)
|
||||||||||||||||
|
Parameters :
|
| toArray | ||||||||
toArray(this: typeReference)
|
||||||||
|
Collects all source emissions and emits them as an array when the source completes. Get all values inside an array when the source completes
Parameters :
Example :
Create array from input const input = Rx.Observable.interval(100).take(4); input.toArray() .subscribe(arr => console.log(arr)); // [0,1,2,3] |
| toArray | ||||||||
toArray(this: typeReference)
|
||||||||
|
Collects all source emissions and emits them as an array when the source completes. Get all values inside an array when the source completes
Parameters :
Example :
Create array from input const input = Rx.Observable.interval(100).take(4); input.toArray() .subscribe(arr => console.log(arr)); // [0,1,2,3] |
| toSubscriber | ||||||||||||||||
toSubscriber(nextOrObserver?: undefined, error?: undefined, complete?: undefined)
|
||||||||||||||||
|
Parameters :
|
| toSubscriber | ||||||||||||||||
toSubscriber(nextOrObserver?: undefined, error?: undefined, complete?: undefined)
|
||||||||||||||||
|
Parameters :
|
| tryCatch | ||||||||
tryCatch(fn: typeReference)
|
||||||||
|
Parameters :
|
| tryCatcher | ||||||||
tryCatcher(this: any)
|
||||||||
|
Parameters :
|
| tryCatch | ||||||||
tryCatch(fn: typeReference)
|
||||||||
|
Parameters :
|
| tryCatcher | ||||||||
tryCatcher(this: any)
|
||||||||
|
Parameters :
|
| window | ||||||||
window(windowBoundaries: typeReference)
|
||||||||
|
Branch out the source Observable values as a nested Observable whenever
It's like {@link buffer}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits connected, non-overlapping
windows. It emits the current window and opens a new one whenever the
Observable
Parameters :
Example :
In every window of 1 second each, emit at most 2 click events var clicks = Rx.Observable.fromEvent(document, 'click'); var interval = Rx.Observable.interval(1000); var result = clicks.window(interval) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| window | ||||||||
window(windowBoundaries: typeReference)
|
||||||||
|
Branch out the source Observable values as a nested Observable whenever
It's like {@link buffer}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits connected, non-overlapping
windows. It emits the current window and opens a new one whenever the
Observable
Parameters :
Example :
In every window of 1 second each, emit at most 2 click events var clicks = Rx.Observable.fromEvent(document, 'click'); var interval = Rx.Observable.interval(1000); var result = clicks.window(interval) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| window | ||||||||||||
window(this: typeReference, windowBoundaries: typeReference)
|
||||||||||||
|
Branch out the source Observable values as a nested Observable whenever
It's like {@link buffer}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits connected, non-overlapping
windows. It emits the current window and opens a new one whenever the
Observable
Parameters :
Example :
In every window of 1 second each, emit at most 2 click events var clicks = Rx.Observable.fromEvent(document, 'click'); var interval = Rx.Observable.interval(1000); var result = clicks.window(interval) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| window | ||||||||||||
window(this: typeReference, windowBoundaries: typeReference)
|
||||||||||||
|
Branch out the source Observable values as a nested Observable whenever
It's like {@link buffer}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits connected, non-overlapping
windows. It emits the current window and opens a new one whenever the
Observable
Parameters :
Example :
In every window of 1 second each, emit at most 2 click events var clicks = Rx.Observable.fromEvent(document, 'click'); var interval = Rx.Observable.interval(1000); var result = clicks.window(interval) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| windowCount | ||||||||||||||||
windowCount(this: typeReference, windowSize: number, startWindowEvery: number)
|
||||||||||||||||
|
Branch out the source Observable values as a nested Observable with each
nested Observable emitting at most It's like {@link bufferCount}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits windows every
Parameters :
Example :
Ignore every 3rd click event, starting from the first one var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowCount(3) .map(win => win.skip(1)) // skip first of every 3 clicks .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); Ignore every 3rd click event, starting from the third one var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowCount(2, 3) .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| windowCount | ||||||||||||
windowCount(windowSize: number, startWindowEvery: number)
|
||||||||||||
|
Branch out the source Observable values as a nested Observable with each
nested Observable emitting at most It's like {@link bufferCount}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits windows every
Parameters :
Example :
Ignore every 3rd click event, starting from the first one var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowCount(3) .map(win => win.skip(1)) // skip first of every 3 clicks .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); Ignore every 3rd click event, starting from the third one var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowCount(2, 3) .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| windowCount | ||||||||||||||||
windowCount(this: typeReference, windowSize: number, startWindowEvery: number)
|
||||||||||||||||
|
Branch out the source Observable values as a nested Observable with each
nested Observable emitting at most It's like {@link bufferCount}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits windows every
Parameters :
Example :
Ignore every 3rd click event, starting from the first one var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowCount(3) .map(win => win.skip(1)) // skip first of every 3 clicks .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); Ignore every 3rd click event, starting from the third one var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowCount(2, 3) .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| windowCount | ||||||||||||
windowCount(windowSize: number, startWindowEvery: number)
|
||||||||||||
|
Branch out the source Observable values as a nested Observable with each
nested Observable emitting at most It's like {@link bufferCount}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits windows every
Parameters :
Example :
Ignore every 3rd click event, starting from the first one var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowCount(3) .map(win => win.skip(1)) // skip first of every 3 clicks .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); Ignore every 3rd click event, starting from the third one var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowCount(2, 3) .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| windowTime | ||||||||||||||||
windowTime(this: typeReference, windowTimeSpan: number, scheduler?: typeReference)
|
||||||||||||||||
|
Branch out the source Observable values as a nested Observable periodically in time. It's like {@link bufferTime}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable starts a new window periodically, as
determined by the
Parameters :
Example :
In every window of 1 second each, emit at most 2 click events var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowTime(1000) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); Every 5 seconds start a window 1 second long, and emit at most 2 click events per window var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowTime(1000, 5000) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); Same as example above but with maxWindowCount instead of take var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowTime(1000, 5000, 2) // each window has still at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| windowTime | ||||||||||||||||||||
windowTime(this: typeReference, windowTimeSpan: number, windowCreationInterval: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| windowTime | ||||||||||||||||||||||||
windowTime(this: typeReference, windowTimeSpan: number, windowCreationInterval: number, maxWindowSize: number, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| windowTime | ||||||||||||
windowTime(this: typeReference, windowTimeSpan: number)
|
||||||||||||
|
Parameters :
|
| windowTime | ||||||||||||
windowTime(this: typeReference, windowTimeSpan: number)
|
||||||||||||
|
Parameters :
|
| windowTime | ||||||||||||||||
windowTime(this: typeReference, windowTimeSpan: number, scheduler?: typeReference)
|
||||||||||||||||
|
Branch out the source Observable values as a nested Observable periodically in time. It's like {@link bufferTime}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable starts a new window periodically, as
determined by the
Parameters :
Example :
In every window of 1 second each, emit at most 2 click events var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowTime(1000) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); Every 5 seconds start a window 1 second long, and emit at most 2 click events per window var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowTime(1000, 5000) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); Same as example above but with maxWindowCount instead of take var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks.windowTime(1000, 5000, 2) // each window has still at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| windowTime | ||||||||||||||||||||
windowTime(this: typeReference, windowTimeSpan: number, windowCreationInterval: number, scheduler?: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| windowTime | ||||||||||||||||||||||||
windowTime(this: typeReference, windowTimeSpan: number, windowCreationInterval: number, maxWindowSize: number, scheduler?: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| windowToggle | ||||||||||||
windowToggle(openings: typeReference, closingSelector: undefined)
|
||||||||||||
|
Branch out the source Observable values as a nested Observable starting from
an emission from It's like {@link bufferToggle}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits windows that contain those items
emitted by the source Observable between the time when the
Parameters :
Example :
Every other second, emit the click events from the next 500ms var clicks = Rx.Observable.fromEvent(document, 'click'); var openings = Rx.Observable.interval(1000); var result = clicks.windowToggle(openings, i => i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() ).mergeAll(); result.subscribe(x => console.log(x)); |
| windowToggle | ||||||||||||||||
windowToggle(this: typeReference, openings: typeReference, closingSelector: undefined)
|
||||||||||||||||
|
Branch out the source Observable values as a nested Observable starting from
an emission from It's like {@link bufferToggle}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits windows that contain those items
emitted by the source Observable between the time when the
Parameters :
Example :
Every other second, emit the click events from the next 500ms var clicks = Rx.Observable.fromEvent(document, 'click'); var openings = Rx.Observable.interval(1000); var result = clicks.windowToggle(openings, i => i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() ).mergeAll(); result.subscribe(x => console.log(x)); |
| windowToggle | ||||||||||||||||
windowToggle(this: typeReference, openings: typeReference, closingSelector: undefined)
|
||||||||||||||||
|
Branch out the source Observable values as a nested Observable starting from
an emission from It's like {@link bufferToggle}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits windows that contain those items
emitted by the source Observable between the time when the
Parameters :
Example :
Every other second, emit the click events from the next 500ms var clicks = Rx.Observable.fromEvent(document, 'click'); var openings = Rx.Observable.interval(1000); var result = clicks.windowToggle(openings, i => i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() ).mergeAll(); result.subscribe(x => console.log(x)); |
| windowToggle | ||||||||||||
windowToggle(openings: typeReference, closingSelector: undefined)
|
||||||||||||
|
Branch out the source Observable values as a nested Observable starting from
an emission from It's like {@link bufferToggle}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits windows that contain those items
emitted by the source Observable between the time when the
Parameters :
Example :
Every other second, emit the click events from the next 500ms var clicks = Rx.Observable.fromEvent(document, 'click'); var openings = Rx.Observable.interval(1000); var result = clicks.windowToggle(openings, i => i % 2 ? Rx.Observable.interval(500) : Rx.Observable.empty() ).mergeAll(); result.subscribe(x => console.log(x)); |
| windowWhen | ||||||||
windowWhen(closingSelector: undefined)
|
||||||||
|
Branch out the source Observable values as a nested Observable using a factory function of closing Observables to determine when to start a new window. It's like {@link bufferWhen}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits connected, non-overlapping windows.
It emits the current window and opens a new one whenever the Observable
produced by the specified
Parameters :
Example :
Emit only the first two clicks events in every window of [1-5] random seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks .windowWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000)) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| windowWhen | ||||||||||||
windowWhen(this: typeReference, closingSelector: undefined)
|
||||||||||||
|
Branch out the source Observable values as a nested Observable using a factory function of closing Observables to determine when to start a new window. It's like {@link bufferWhen}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits connected, non-overlapping windows.
It emits the current window and opens a new one whenever the Observable
produced by the specified
Parameters :
Example :
Emit only the first two clicks events in every window of [1-5] random seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks .windowWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000)) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| windowWhen | ||||||||||||
windowWhen(this: typeReference, closingSelector: undefined)
|
||||||||||||
|
Branch out the source Observable values as a nested Observable using a factory function of closing Observables to determine when to start a new window. It's like {@link bufferWhen}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits connected, non-overlapping windows.
It emits the current window and opens a new one whenever the Observable
produced by the specified
Parameters :
Example :
Emit only the first two clicks events in every window of [1-5] random seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks .windowWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000)) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| windowWhen | ||||||||
windowWhen(closingSelector: undefined)
|
||||||||
|
Branch out the source Observable values as a nested Observable using a factory function of closing Observables to determine when to start a new window. It's like {@link bufferWhen}, but emits a nested Observable instead of an array.
Returns an Observable that emits windows of items it collects from the source
Observable. The output Observable emits connected, non-overlapping windows.
It emits the current window and opens a new one whenever the Observable
produced by the specified
Parameters :
Example :
Emit only the first two clicks events in every window of [1-5] random seconds var clicks = Rx.Observable.fromEvent(document, 'click'); var result = clicks .windowWhen(() => Rx.Observable.interval(1000 + Math.random() * 4000)) .map(win => win.take(2)) // each window has at most 2 emissions .mergeAll(); // flatten the Observable-of-Observables result.subscribe(x => console.log(x)); |
| withLatestFrom | ||||||||||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||
withLatestFrom(observables: typeReference)
|
||||||||
|
Parameters :
|
| withLatestFrom | ||||||||
withLatestFrom(array: undefined)
|
||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(array: undefined, project: undefined)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||
withLatestFrom(args: typeReference)
|
||||||||
|
Combines the source Observable with other Observables to create an Observable whose values are calculated from the latest values of each, only when the source emits. Whenever the source Observable emits a value, it computes a formula using that value plus the latest values from other input Observables, then emits the output of that formula.
Parameters :
Example :
On every click event, emit an array with the latest timer event plus the click event var clicks = Rx.Observable.fromEvent(document, 'click'); var timer = Rx.Observable.interval(1000); var result = clicks.withLatestFrom(timer); result.subscribe(x => console.log(x)); |
| withLatestFrom | ||||||||
withLatestFrom(project: undefined)
|
||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(v2: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||
withLatestFrom(v2: typeReference)
|
||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(this: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(this: typeReference, v2: typeReference)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference)
|
||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(this: typeReference, array: undefined)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||
withLatestFrom(this: typeReference, array: undefined, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(this: typeReference, args: typeReference)
|
||||||||||||
|
Combines the source Observable with other Observables to create an Observable whose values are calculated from the latest values of each, only when the source emits. Whenever the source Observable emits a value, it computes a formula using that value plus the latest values from other input Observables, then emits the output of that formula.
Parameters :
Example :
On every click event, emit an array with the latest timer event plus the click event var clicks = Rx.Observable.fromEvent(document, 'click'); var timer = Rx.Observable.interval(1000); var result = clicks.withLatestFrom(timer); result.subscribe(x => console.log(x)); |
| withLatestFrom | ||||||||||||
withLatestFrom(this: typeReference, args: typeReference)
|
||||||||||||
|
Combines the source Observable with other Observables to create an Observable whose values are calculated from the latest values of each, only when the source emits. Whenever the source Observable emits a value, it computes a formula using that value plus the latest values from other input Observables, then emits the output of that formula.
Parameters :
Example :
On every click event, emit an array with the latest timer event plus the click event var clicks = Rx.Observable.fromEvent(document, 'click'); var timer = Rx.Observable.interval(1000); var result = clicks.withLatestFrom(timer); result.subscribe(x => console.log(x)); |
| withLatestFrom | ||||||||||||||||
withLatestFrom(this: typeReference, array: undefined, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(this: typeReference, array: undefined)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference)
|
||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(this: typeReference, v2: typeReference)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||
withLatestFrom(this: typeReference, v2: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(this: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||
withLatestFrom(args: typeReference)
|
||||||||
|
Combines the source Observable with other Observables to create an Observable whose values are calculated from the latest values of each, only when the source emits. Whenever the source Observable emits a value, it computes a formula using that value plus the latest values from other input Observables, then emits the output of that formula.
Parameters :
Example :
On every click event, emit an array with the latest timer event plus the click event var clicks = Rx.Observable.fromEvent(document, 'click'); var timer = Rx.Observable.interval(1000); var result = clicks.withLatestFrom(timer); result.subscribe(x => console.log(x)); |
| withLatestFrom | ||||||||||||
withLatestFrom(array: undefined, project: undefined)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||
withLatestFrom(array: undefined)
|
||||||||
|
Parameters :
|
| withLatestFrom | ||||||||
withLatestFrom(observables: typeReference)
|
||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||
withLatestFrom(project: undefined)
|
||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(v2: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||||||||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| withLatestFrom | ||||||||
withLatestFrom(v2: typeReference)
|
||||||||
|
Parameters :
|
| withLatestFrom | ||||||||||||
withLatestFrom(v2: typeReference, v3: typeReference)
|
||||||||||||
|
Parameters :
|
| zip | ||||||||
zip(project: undefined)
|
||||||||
|
Parameters :
|
| zip | ||||||||||||||||
zip(v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||||||||||
zip(v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||||||||||||||
zip(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||||||||||||||||||
zip(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| zip | ||||||||
zip(v2: typeReference)
|
||||||||
|
Parameters :
|
| zip | ||||||||||||
zip(v2: typeReference, v3: typeReference)
|
||||||||||||
|
Parameters :
|
| zip | ||||||||||||||||
zip(v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||||||||||
zip(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||||||||||||||
zip(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||
zip(v2: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| zip | ||||||||
zip(observables: typeReference)
|
||||||||
|
Parameters :
|
| zip | ||||||||
zip(array: typeReference)
|
||||||||
|
Parameters :
|
| zip | ||||||||||||
zip(array: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| zip | ||||||||
zip(observables: typeReference)
|
||||||||
|
Parameters :
|
| zipStatic | ||||||||||||
zipStatic(v1: typeReference, v2: typeReference)
|
||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||
zipStatic(array: undefined)
|
||||||||
|
Parameters :
|
| zipStatic | ||||||||
zipStatic(array: undefined)
|
||||||||
|
Parameters :
|
| zipStatic | ||||||||||||
zipStatic(array: undefined, project: undefined)
|
||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||
zipStatic(array: undefined, project: undefined)
|
||||||||||||
|
Parameters :
|
| zipStatic | ||||||||
zipStatic(observables: typeReference)
|
||||||||
|
Parameters :
|
| zipStatic | ||||||||
zipStatic(observables: typeReference)
|
||||||||
|
Parameters :
|
| zipStatic | ||||||||
zipStatic(observables: typeReference)
|
||||||||
|
Parameters :
|
| zipStatic | ||||||||
zipStatic(observables: typeReference)
|
||||||||
|
Combines multiple Observables to create an Observable whose values are calculated from the values, in order, of each of its input Observables. If the latest parameter is a function, this function is used to compute the created value from the input values. Otherwise, an array of the input values is returned.
Parameters :
Example :
Combine age and name from different sources
let age$ = Observable.of Observable .zip(age$, name$, isDev$, (age: number, name: string, isDev: boolean) => ({ age, name, isDev })) .subscribe(x => console.log(x)); // outputs // { age: 27, name: 'Foo', isDev: true } // { age: 25, name: 'Bar', isDev: true } // { age: 29, name: 'Beer', isDev: false } |
| zipStatic | ||||||||||||||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||
zipStatic(v1: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference)
|
||||||||||||||||
|
Parameters :
|
| zip | ||||||||
zip(observables: typeReference)
|
||||||||
|
Parameters :
|
| zip | ||||||||
zip(observables: typeReference)
|
||||||||
|
Parameters :
|
| zip | ||||||||||||
zip(array: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| zip | ||||||||
zip(array: typeReference)
|
||||||||
|
Parameters :
|
| zip | ||||||||||||||||||||||||
zip(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||||||||||
zip(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||||||
zip(v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||
zip(v2: typeReference, v3: typeReference)
|
||||||||||||
|
Parameters :
|
| zip | ||||||||
zip(v2: typeReference)
|
||||||||
|
Parameters :
|
| zip | ||||||||||||||||||||||||||||
zip(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||||||||||||||
zip(v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||||||||||
zip(v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||||||
zip(v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| zip | ||||||||||||
zip(v2: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| zip | ||||||||
zip(project: undefined)
|
||||||||
|
Parameters :
|
| zipStatic | ||||||||||||
zipStatic(v1: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||
zipStatic(v1: typeReference, v2: typeReference)
|
||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference)
|
||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||||||||||||||||||
zipStatic(v1: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| zipStatic | ||||||||
zipStatic(array: undefined)
|
||||||||
|
Parameters :
|
| zipStatic | ||||||||
zipStatic(array: undefined)
|
||||||||
|
Parameters :
|
| zipStatic | ||||||||||||
zipStatic(array: undefined, project: undefined)
|
||||||||||||
|
Parameters :
|
| zipStatic | ||||||||||||
zipStatic(array: undefined, project: undefined)
|
||||||||||||
|
Parameters :
|
| zipStatic | ||||||||
zipStatic(observables: typeReference)
|
||||||||
|
Parameters :
|
| zipStatic | ||||||||
zipStatic(observables: typeReference)
|
||||||||
|
Parameters :
|
| zipStatic | ||||||||
zipStatic(observables: typeReference)
|
||||||||
|
Parameters :
|
| zipStatic | ||||||||
zipStatic(observables: typeReference)
|
||||||||
|
Combines multiple Observables to create an Observable whose values are calculated from the values, in order, of each of its input Observables. If the latest parameter is a function, this function is used to compute the created value from the input values. Otherwise, an array of the input values is returned.
Parameters :
Example :
Combine age and name from different sources
let age$ = Observable.of Observable .zip(age$, name$, isDev$, (age: number, name: string, isDev: boolean) => ({ age, name, isDev })) .subscribe(x => console.log(x)); // outputs // { age: 27, name: 'Foo', isDev: true } // { age: 25, name: 'Bar', isDev: true } // { age: 29, name: 'Beer', isDev: false } |
| zipAll | ||||||||||||
zipAll(this: typeReference, project?: undefined)
|
||||||||||||
|
Parameters :
|
| zipAll | ||||||||||||
zipAll(this: typeReference, project?: undefined)
|
||||||||||||
|
Parameters :
|
| zipAll | ||||||||
zipAll(project?: undefined)
|
||||||||
|
Parameters :
|
| zipAll | ||||||||
zipAll(project?: undefined)
|
||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||
zipProto(this: typeReference, array: typeReference)
|
||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||
zipProto(this: typeReference, v2: typeReference)
|
||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference)
|
||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||
zipProto(this: typeReference, array: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||
zipProto(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||
zipProto(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||
zipProto(this: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||
zipProto(this: typeReference, v2: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||
zipProto(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference)
|
||||||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||
zipProto(this: typeReference, project: undefined)
|
||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||
zipProto(this: typeReference, v2: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, project: undefined)
|
||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, project: undefined)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference, project: undefined)
|
||||||||||||||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||
zipProto(this: typeReference, v2: typeReference)
|
||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference)
|
||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference)
|
||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, v5: typeReference, v6: typeReference)
|
||||||||||||||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||
zipProto(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||
zipProto(this: typeReference, array: typeReference, project: undefined)
|
||||||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||
zipProto(this: typeReference, array: typeReference)
|
||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||
zipProto(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||
zipProto(this: typeReference, observables: typeReference)
|
||||||||||||
|
Parameters :
|
| zipProto | ||||||||||||||||||||||||
zipProto(this: typeReference, v2: typeReference, v3: typeReference, v4: typeReference, project: undefined)
|
||||||||||||||||||||||||
|
Parameters :
|